Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setMagnetODR Error #24

Open
trexmiller opened this issue May 23, 2022 · 2 comments
Open

setMagnetODR Error #24

trexmiller opened this issue May 23, 2022 · 2 comments

Comments

@trexmiller
Copy link

Upon compilation...

/Users/trexmiller/Documents/Arduino/libraries/Arduino_LSM9DS1/src/LSM9DS1.cpp: In member function 'virtual int LSM9DS1Class::setMagnetODR(uint8_t)':

/Users/trexmiller/Documents/Arduino/libraries/Arduino_LSM9DS1/src/LSM9DS1.cpp:449:12: error: control reaches end of non-void function [-Werror=return-type]
449 | magnetODR= measureMagnetODR(duration); //measure the actual ODR value
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors

Using earlier version (1f5a19d) compiles with no errors

@FemmeVerbeek
Copy link
Owner

FemmeVerbeek commented May 23, 2022 via email

@trexmiller
Copy link
Author

trexmiller commented May 23, 2022 via email

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

No branches or pull requests

2 participants