aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Charlebois <charlebm@gmail.com>2015-04-20 12:08:06 -0700
committerMark Charlebois <charlebm@gmail.com>2015-04-20 12:08:06 -0700
commit612579c809255a289842b4e565b486492c330ae0 (patch)
tree5e05fb8ac120522659fa2ef25f50c95b0281a3ba /src
parent455b0dcaff7929f69a382fc07efd94691c6fc794 (diff)
downloadpx4-firmware-612579c809255a289842b4e565b486492c330ae0.tar.gz
px4-firmware-612579c809255a289842b4e565b486492c330ae0.tar.bz2
px4-firmware-612579c809255a289842b4e565b486492c330ae0.zip
Removed check for isfinite as no longer needed
PX4_ISFINITE resolves the definition of isfinite. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/modules/ekf_att_pos_estimator/estimator_22states.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_22states.cpp b/src/modules/ekf_att_pos_estimator/estimator_22states.cpp
index d3200047e..5d56dbaae 100644
--- a/src/modules/ekf_att_pos_estimator/estimator_22states.cpp
+++ b/src/modules/ekf_att_pos_estimator/estimator_22states.cpp
@@ -49,10 +49,6 @@
#define M_PI_F static_cast<float>(M_PI)
#endif
-#ifndef isfinite
-#define isfinite(__x) std::isfinite(__x)
-#endif
-
constexpr float EKF_COVARIANCE_DIVERGED = 1.0e8f;
AttPosEKF::AttPosEKF() :