mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 02:53:33 +08:00
Cleanup of module building.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
set(directories
|
||||
./external_lgpl
|
||||
./geo
|
||||
./launchdetection
|
||||
./mathlib/math/filter
|
||||
./mathlib
|
||||
./rc
|
||||
./geo_lookup
|
||||
./ecl
|
||||
./conversion
|
||||
)
|
||||
|
||||
foreach(directory ${directories})
|
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
@@ -41,6 +41,10 @@
|
||||
#include "LowPassFilter2p.hpp"
|
||||
#include "math.h"
|
||||
|
||||
#ifndef M_PI_F
|
||||
#define M_PI_F 3.14159f
|
||||
#endif
|
||||
|
||||
namespace math
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user