In Line 508 of inv_mpu.c you initialize " ,.raw_compass = 0x49,". This will cause an issue on some systems as the compiler expects the members in the same order as declared. "sorry, unimplemented: non-trivial designated initializers not supported"
This can be fixed by moving the initialization of raw_compass to the bottom of the struct.
In Line 508 of inv_mpu.c you initialize " ,.raw_compass = 0x49,". This will cause an issue on some systems as the compiler expects the members in the same order as declared. "sorry, unimplemented: non-trivial designated initializers not supported" This can be fixed by moving the initialization of raw_compass to the bottom of the struct.