mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
fixes
This commit is contained in:
parent
2d2195d841
commit
fa60cfda81
2 changed files with 8 additions and 5 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue