mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 09:57:34 +08:00
ekf: now it should even compile for NuttX
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@
|
||||
#include "mathlib.h"
|
||||
|
||||
#ifndef __PX4_QURT
|
||||
#if defined(__cplusplus)
|
||||
#if defined(__cplusplus) && !defined(__PX4_NUTTX)
|
||||
#include <cmath>
|
||||
#define ISFINITE(x) std::isfinite(x)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user