mirror of https://github.com/ArduPilot/ardupilot
AP_Math: define M_PI to more digits for use by code that uses DOUBLE_PRECISION_SOURCES
This commit is contained in:
parent
5d260f1f42
commit
af491e2f2a
|
@ -7,7 +7,7 @@
|
|||
#ifdef M_PI
|
||||
# undef M_PI
|
||||
#endif
|
||||
#define M_PI (3.141592653589793)
|
||||
#define M_PI (3.141592653589793238462643383279502884)
|
||||
|
||||
#ifdef M_PI_2
|
||||
# undef M_PI_2
|
||||
|
|
Loading…
Reference in New Issue