1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-20 23:05:17 +03:00

Switch compiler to _Ofast for critical files

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-03-11 21:48:57 +01:00
parent f26c189233
commit fce005f7f9
21 changed files with 40 additions and 2 deletions

View file

@ -25,6 +25,8 @@
#include "quaternion.h"
#include "platform.h"
FILE_COMPILE_FOR_SPEED
// http://lolengine.net/blog/2011/12/21/better-function-approximations
// Chebyshev http://stackoverflow.com/questions/345085/how-do-trigonometric-functions-work/345117#345117
// Thanks for ledvinap for making such accuracy possible! See: https://github.com/cleanflight/cleanflight/issues/940#issuecomment-110323384