SparkFun_MPU-9250-DMP_Arduino_Library icon indicating copy to clipboard operation
SparkFun_MPU-9250-DMP_Arduino_Library copied to clipboard

Add word size to integer literals

Open kolosy opened this issue 6 years ago • 0 comments

The ATMega2560 appears to be treating the integer literals in MPU9250_DMP::qToFloat as int16_t instead of longs. Add L modifier to fix that.

This should address https://github.com/sparkfun/SparkFun_MPU-9250-DMP_Arduino_Library/issues/22

kolosy avatar May 14 '19 14:05 kolosy