mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
Update navigation.c
This commit is contained in:
parent
1d292b1925
commit
89d8e91472
1 changed files with 2 additions and 2 deletions
|
@ -3628,7 +3628,7 @@ static bool isManualEmergencyLandingActivated(void)
|
|||
timeMs_t currentTimeMs = millis();
|
||||
|
||||
if (timeout && currentTimeMs > timeout) {
|
||||
timeout += 500;
|
||||
timeout += 1000;
|
||||
counter -= counter ? 1 : 0;
|
||||
if (!counter) {
|
||||
timeout = 0;
|
||||
|
@ -3636,7 +3636,7 @@ static bool isManualEmergencyLandingActivated(void)
|
|||
}
|
||||
if (IS_RC_MODE_ACTIVE(BOXNAVPOSHOLD)) {
|
||||
if (!timeout) {
|
||||
timeout = currentTimeMs + 2000;
|
||||
timeout = currentTimeMs + 3000;
|
||||
}
|
||||
counter += toggle;
|
||||
toggle = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue