CN - Some changes to integer math rotation code. Won't work well with gyro readings as the resolution is too low. Need to undo and switch back to floating point.
CN - Minor changes. Use constant for RAD instead of M_IP/180.0f
CN - Remove fixed point changes I made which won't work.
CN - Minor changes. Changed vbat calculation to use integer maths.
Using DIVIDE_WITH_ROUNDING to do proper rounding of some integers when scaling.
CN - More rounding changes. Changed some variables from int16 to int.
CN - Remove unused gyro scaling functions.
CN - More rounding changes.
CN - Use integer maths for magnetometer ADC readings.
CN - Use integer math for GPS angle calculations
CN - More rounding changes.
CN - Removed compile time option for integer maths in Magnetometer readings. Integer maths is now always used.
CN - Removed unnecessary use of floats in sonar transition calculation.
CN - Throttle angle correction now uses integer maths. With maximum correction set to 500 and maximum correctin angle set to 45.0 degrees, the maximum difference between floating pont and integer versions is 2.
fix typo
CN - CLI vartype field changed from unit8_t to enum. Structure is the same size.
CN - Sensors values now stored in 32 bit variables rather than 16 bit. Reduces code size.