mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 07:33:34 +08:00
replace <cfloat> with <float.h>
- <cfloat> isn't available in the NuttX c++ library
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <px4_module_params.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "mission_feasibility_checker.h"
|
||||
#include "navigator_mode.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <dataman/dataman.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
#include "navigator.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <dataman/dataman.h>
|
||||
|
||||
Reference in New Issue
Block a user