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

getEvent should be bool instead of void #1

Open
zomerfeld opened this issue Apr 25, 2017 · 3 comments
Open

getEvent should be bool instead of void #1

zomerfeld opened this issue Apr 25, 2017 · 3 comments

Comments

@zomerfeld
Copy link

See the changes on https://forums.adafruit.com/viewtopic.php?f=25&t=70096

@pkourany
Copy link
Owner

@zomerfeld, can you please be a little more specific as to the changes you are looking for?

@zomerfeld
Copy link
Author

Sorry let me explain.
I was trying to run this library (the LSM303 one) and there are some issues that prevent it from compiling.
Specifically this one:
error: conflicting return type specified for 'virtual bool Adafruit_LSM303_Mag_Unified::getEvent(sensors_event_t*)'

It seems that Adafruit have updated the sensor library (the one I'm using from particle) so there's a mismatch in that function between the two.

I haven't been able to update it to make it work unfortunately.

@pkourany
Copy link
Owner

@zomerfeld, if I make the change then all the other apps in the library won't work! You need to use the latest adafruit sensor unified sensor library with the latest sensor code designed to use it.

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