forked from arduino-libraries/Arduino_LSM9DS1
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Comments
Hi Todd,LSM9DS1 was written as update.You must remove the old version completely from the directory where the libraries are stored.Better ask these questions in the arduino forum. I have little time.FemmeMet vriendelijke groetFemme Verbeek06 2606 0303
-------- Oorspronkelijk bericht --------Van: Todd Rex Miller ***@***.***> Datum: 23-05-22 17:26 (GMT+01:00) Aan: FemmeVerbeek/Arduino_LSM9DS1 ***@***.***> Cc: Subscribed ***@***.***> Onderwerp: [FemmeVerbeek/Arduino_LSM9DS1] setMagnetODR Error (Issue #24)
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
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Yeah, I get it. Just that I did remove it completely, but I will check it again.
BTW, we cited your library in our latest paper to come out shortly in ACS, ES&T Water.
… On May 23, 2022, at 1:01 PM, FemmeVerbeek ***@***.***> wrote:
Hi Todd,LSM9DS1 was written as update.You must remove the old version completely from the directory where the libraries are stored.Better ask these questions in the arduino forum. I have little time.FemmeMet vriendelijke groetFemme Verbeek06 2606 0303
-------- Oorspronkelijk bericht --------Van: Todd Rex Miller ***@***.***> Datum: 23-05-22 17:26 (GMT+01:00) Aan: FemmeVerbeek/Arduino_LSM9DS1 ***@***.***> Cc: Subscribed ***@***.***> Onderwerp: [FemmeVerbeek/Arduino_LSM9DS1] setMagnetODR Error (Issue #24)
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
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub <#24 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEDN4J6U2LEKKYEJO4BL7CLVLPBW7ANCNFSM5WWHPZQA>.
You are receiving this because you authored the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: