mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 03:43:33 +08:00
replace <cfloat> with <float.h>
- <cfloat> isn't available in the NuttX c++ library
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include "ekf.h"
|
||||
#include <ecl.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
void Ekf::fuseOptFlow()
|
||||
{
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@
|
||||
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <matrix/math.hpp>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
using matrix::wrap_pi;
|
||||
using matrix::wrap_2pi;
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#include "data_validator_group.h"
|
||||
#include <ecl.h>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
DataValidatorGroup::DataValidatorGroup(unsigned siblings)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user