sparkfun / SparkFun_MPU-9250-DMP_Arduino_Library

Arduino library for the MPU-9250 enabling its digital motion process (DMP) features.
Other
229 stars 151 forks source link

Add word size to integer literals #31

Open kolosy opened 5 years ago

kolosy commented 5 years ago

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