mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 05:43:35 +08:00
replace <cfloat> with <float.h>
- <cfloat> isn't available in the NuttX c++ library
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
* Driver for the Eagle Tree Airspeed V3 connected via I2C.
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <px4_config.h>
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
* Driver/configurator for the PX4 FMU
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <board_config.h>
|
||||
#include <drivers/device/device.h>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <board_config.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
Reference in New Issue
Block a user