mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 13:43:35 +08:00
added ifdef guard
This commit is contained in:
@@ -45,7 +45,10 @@
|
||||
|
||||
|
||||
namespace math {
|
||||
#define M_PI_F 3.14159265358979323846
|
||||
|
||||
#ifndef CONFIG_ARCH_ARM
|
||||
#define M_PI_F 3.14159265358979323846f
|
||||
#endif
|
||||
|
||||
float __EXPORT min(float val1, float val2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user