Browse Source

EKF: Remove unused error variable

sbg
Lorenz Meier 10 years ago
parent
commit
d222f6e664
  1. 6
      src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp

6
src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp

@ -105,12 +105,6 @@ uint64_t getMicros() @@ -105,12 +105,6 @@ uint64_t getMicros()
namespace estimator
{
/* oddly, ERROR is not defined for c++ */
#ifdef ERROR
# undef ERROR
#endif
static const int ERROR = -1;
AttitudePositionEstimatorEKF *g_estimator = nullptr;
}

Loading…
Cancel
Save