Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

AccelGyroMag.cpp sleep() invalid value #31

Closed
spale75 opened this issue Jun 29, 2015 · 1 comment
Closed

AccelGyroMag.cpp sleep() invalid value #31

spale75 opened this issue Jun 29, 2015 · 1 comment

Comments

@spale75
Copy link

spale75 commented Jun 29, 2015

The sleep(0.5) take an unsigned int as parameter. Passing 0.5 results in 0. usleep(500000) should apply here.

staroselskii added a commit that referenced this issue Oct 1, 2015
function sleep() takes integers, not floating point. see issue #31.
@staroselskii
Copy link
Contributor

Fixed with 42c98f2. Closing!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants