mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 21:30:35 +08:00
cmake standalone build
This commit is contained in:
+3
-4
@@ -40,8 +40,7 @@
|
||||
*/
|
||||
#include "mathlib.h"
|
||||
|
||||
#ifdef POSIX_SHARED
|
||||
|
||||
#ifdef ECL_STANDALONE
|
||||
|
||||
namespace math
|
||||
{
|
||||
@@ -71,6 +70,6 @@ float degrees(float radians)
|
||||
return (radians * 180.0f) / M_PI_F;
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace math
|
||||
|
||||
#endif
|
||||
#endif /* ECL_STANDALONE */
|
||||
|
||||
Reference in New Issue
Block a user