SparkFun_MPU-9250-DMP_Arduino_Library
SparkFun_MPU-9250-DMP_Arduino_Library copied to clipboard
qToFloat mask bits default to short
on line 618 of src/SparkFunMPU9250-DMP.cpp, in my implementation (Arduino 1.6.5, Atmega32U4 Pro Micro) the variable is assumed to be a uint16_t and causes undesirable behavior when q>15. probably should be specified as unsigned long.
output from loop with q=16: 1 3 7 F 1F 3F 7F FF 1FF 3FF 7FF FFF 1FFF 3FFF 7FFF FFFFFFFF