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

location of adafruit_bno055_rev_info_t in h file #26

Closed
Tomega3 opened this issue Jun 13, 2016 · 0 comments
Closed

location of adafruit_bno055_rev_info_t in h file #26

Tomega3 opened this issue Jun 13, 2016 · 0 comments

Comments

@Tomega3
Copy link

Tomega3 commented Jun 13, 2016

In order to access the getRevInfo(adafruit_bno055_rev_info_t* info) function I moved the location of
//**************************************
typedef struct
{
uint8_t accel_rev;
uint8_t mag_rev;
uint8_t gyro_rev;
uint16_t sw_rev;
uint8_t bl_rev;
} adafruit_bno055_rev_info_t;
//**************************************

to outside of the CLASS definition, it is now directly below the adafruit_bno055_offsets_t typedef.

Should I have NOT done this? My solution works, but is there a preffered way to access the bn0055 revinfo data?

I tried to make a pull request but it wanted me to compare 2 branches, before enabling the create pull request.

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