Skip to content

Fix error: Arduino_NineAxesMotion.h #endif and void begin(unassigned int) #19

Open
@BrcBenjamin

Description

@BrcBenjamin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions