mirror of https://github.com/ArduPilot/ardupilot
AP_Math: add and use global NaNf float value
This commit is contained in:
parent
54247833c0
commit
7710e3c9bc
|
@ -20,6 +20,8 @@
|
||||||
#include "location.h"
|
#include "location.h"
|
||||||
#include "control.h"
|
#include "control.h"
|
||||||
|
|
||||||
|
static const float NaNf = nanf("0x4152");
|
||||||
|
|
||||||
#if HAL_WITH_EKF_DOUBLE
|
#if HAL_WITH_EKF_DOUBLE
|
||||||
typedef Vector2<double> Vector2F;
|
typedef Vector2<double> Vector2F;
|
||||||
typedef Vector3<double> Vector3F;
|
typedef Vector3<double> Vector3F;
|
||||||
|
|
Loading…
Reference in New Issue