From 246dc5421bb307e44f4817adda4767f0b2bb22e5 Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Mon, 7 Nov 2016 22:16:56 +1100 Subject: [PATCH] ekf2: remove unnecessary variables found during review --- src/modules/ekf2/ekf2_main.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/modules/ekf2/ekf2_main.cpp b/src/modules/ekf2/ekf2_main.cpp index bf16ff65fd..fb11a13fd8 100644 --- a/src/modules/ekf2/ekf2_main.cpp +++ b/src/modules/ekf2/ekf2_main.cpp @@ -152,17 +152,6 @@ private: uint32_t _balt_time_ms_last_used = 0; // time stamp in msec of the last averaged barometric altitude measurement used by the EKF - int _sensors_sub = -1; - int _gps_sub = -1; - int _airspeed_sub = -1; - int _params_sub = -1; - int _optical_flow_sub = -1; - int _range_finder_sub = -1; - int _ev_pos_sub = -1; - int _actuator_armed_sub = -1; - int _vehicle_land_detected_sub = -1; - int _status_sub = -1; - bool _prev_landed = true; // landed status from the previous frame float _acc_hor_filt = 0.0f; // low-pass filtered horizontal acceleration