-
Notifications
You must be signed in to change notification settings - Fork 75
avr/pgmspace.h incorrectly included #78
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
Comments
Hi Space Cheese (@spacecheese ), |
Maybe there is a Pi-specific identifier which we could and into the mix? |
Should this issue be closed now that the pull request has been merged? |
Hi @igor-markovic , Thanks for the reminder! I merged the changes into the release_candidate branch, but I have not released the changes in the main branch. I left this issue open as a reminder to do the release. I think I was waiting to include #73 first. I will release the changes soon. Best wishes, |
Merged in v1.2.8. Closing... |
I'm using the C backend of this library on a raspberry pi. When compiling using arm-linux-gnueabihf-gcc the __arm__ macro is defined causing ICM_20948_C.c to attempt to include the avr/pgmspace.h header. I've corrected this in my local copy by changing line 11 from:
#if defined(__AVR__) || defined(__arm__) || defined(__ARDUINO_ARC__)
to
#if defined(__AVR__) || defined(__ARDUINO_ARC__)
I would submit a pull request but I'm not sure whether there was some reason for checking the __arm__ macro?
The text was updated successfully, but these errors were encountered: