1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00
This commit is contained in:
breadoven 2023-09-06 23:25:13 +01:00
parent 2d2195d841
commit fa60cfda81
2 changed files with 8 additions and 5 deletions

View file

@ -2809,6 +2809,9 @@ void updateLandingStatus(timeMs_t currentTimeMs)
DEBUG_SET(DEBUG_LANDING, 1, STATE(LANDING_DETECTED));
if (!ARMING_FLAG(ARMED)) {
if (STATE(LANDING_DETECTED)) {
landingDetectorIsActive = false;
}
resetLandingDetector();
if (!IS_RC_MODE_ACTIVE(BOXARM)) {