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

Non arduino compatibility #31

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

id-run
Copy link

@id-run id-run commented Oct 25, 2022

I added a few includes and moved the Arduino.h include into a preprocessor #ifdef block to make the code compatible with non-Arduino projects without editing the source code.

A -Wshadow warning was removed by renaming a variable.

A -Wunused-parameter was removed by adding a cast to void.

@bruceoberg
Copy link

i made similar changes to get the fusion code running outside an arduino environment. this seems like a good candidate for integration into the released branch.

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

Successfully merging this pull request may close these issues.

2 participants