mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 19:33:35 +08:00
replace <cfloat> with <float.h>
- <cfloat> isn't available in the NuttX c++ library
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <unit_test.h>
|
||||
#include <mc_pos_control/Utility/ControlMath.hpp>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#define SIGMA_SINGLE_OP 0.000001f
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <unit_test.h>
|
||||
|
||||
#include <px4_config.h>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
typedef union {
|
||||
float f;
|
||||
|
||||
Reference in New Issue
Block a user