lkaino / Triflight

Triflight flight controller firmware for tricopters
http://rcexplorer.se
GNU General Public License v3.0
49 stars 19 forks source link

The VERY_FAST_MATH should be removed. #10

Closed Bengt-M closed 8 years ago

Bengt-M commented 8 years ago

The unit tests fail. Its a tiny error but probably accumulative (not random noise). Thousand times every second and it may add up. The original committer @DigitalEntity, who I think introduced the fast math, had it commented it out originally. Then something happened in a BF detour. In current CF it is commented out again. See math.h, line 26, or use attached patch which also updates the names to current CF. /B Math.patch.txt

lkaino commented 8 years ago

Thanks, will do.

lkaino commented 8 years ago

This will be removed in the Cleanflight merge.