From 0ec7efcfc40cb7673e905355a5b37982b3e0d421 Mon Sep 17 00:00:00 2001 From: mcsauder Date: Mon, 24 Jun 2019 09:21:45 -0600 Subject: [PATCH] Delete _measure_interval and redundant parentheses in LandDetector.h. --- src/modules/land_detector/LandDetector.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/land_detector/LandDetector.h b/src/modules/land_detector/LandDetector.h index 6fbd31b2f5..d93db958e5 100644 --- a/src/modules/land_detector/LandDetector.h +++ b/src/modules/land_detector/LandDetector.h @@ -165,13 +165,11 @@ private: bool _previous_armed_state{false}; ///< stores the previous actuator_armed.armed state - uint32_t _measure_interval{LAND_DETECTOR_UPDATE_INTERVAL}; - uint64_t _total_flight_time{0}; ///< in microseconds hrt_abstime _takeoff_time{0}; - perf_counter_t _cycle_perf{(perf_alloc(PC_ELAPSED, "land_detector_cycle"))}; + perf_counter_t _cycle_perf{perf_alloc(PC_ELAPSED, "land_detector_cycle")}; uORB::Subscription _actuator_armed_sub{ORB_ID(actuator_armed)}; uORB::Subscription _param_update_sub{ORB_ID(parameter_update)};