diff --git a/src/modules/land_detector/FixedwingLandDetector.cpp b/src/modules/land_detector/FixedwingLandDetector.cpp index c53a99f670..5de7f5cb0a 100644 --- a/src/modules/land_detector/FixedwingLandDetector.cpp +++ b/src/modules/land_detector/FixedwingLandDetector.cpp @@ -48,7 +48,6 @@ FixedwingLandDetector::FixedwingLandDetector() { // Use Trigger time when transitioning from in-air (false) to landed (true) / ground contact (true). _landed_hysteresis.set_hysteresis_time_from(false, _param_lndfw_trig_time.get() * 1_s); - _landed_hysteresis.set_hysteresis_time_from(true, FLYING_TRIGGER_TIME_US); } bool FixedwingLandDetector::_get_landed_state() diff --git a/src/modules/land_detector/FixedwingLandDetector.h b/src/modules/land_detector/FixedwingLandDetector.h index 3f3fa9ad35..435ecc1fae 100644 --- a/src/modules/land_detector/FixedwingLandDetector.h +++ b/src/modules/land_detector/FixedwingLandDetector.h @@ -65,9 +65,6 @@ protected: void _set_hysteresis_factor(const int factor) override {}; private: - - static constexpr hrt_abstime FLYING_TRIGGER_TIME_US = 0_us; - uORB::Subscription _airspeed_validated_sub{ORB_ID(airspeed_validated)}; uORB::Subscription _launch_detection_status_sub{ORB_ID(launch_detection_status)};