Fix error: Arduino_NineAxesMotion.h #endif and void begin(unassigned int)
BrcBenjamin opened this issue · 0 comments
BrcBenjamin commented
Hey guys,
I have a school project using a NineAxesMotion Shield.
When i download your library, i found 2 error on the Arduino_NineAxesMotion.h file that make crash compilation of your example program.
Line 722 :
void begin(unsigned int address = 0x28) doesn't need the address = 0x28 because it's given by the cpp file.
USE :
void begin(unsigned int address)
Line 766:
#endif __NAXISMOTION_H__ An endif doesn't need to be named
USE:
#endif //__NAXISMOTION_H__
Thanks for your time.
Keep me informed.
Ben