diff --git a/src/examples/ekf_att_pos_estimator/estimator_22states.cpp b/src/examples/ekf_att_pos_estimator/estimator_22states.cpp index f64a6ed451..c9dcc0322e 100644 --- a/src/examples/ekf_att_pos_estimator/estimator_22states.cpp +++ b/src/examples/ekf_att_pos_estimator/estimator_22states.cpp @@ -113,8 +113,8 @@ AttPosEKF::AttPosEKF() : varInnovRng(0.0f), VtasMeas(0.0f), magDeclination(0.0f), - latRef(0.0f), - lonRef(-M_PI_F), + latRef(0.0), + lonRef(-M_PI), hgtRef(0.0f), refSet(false), covSkipCount(0),