mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Merge pull request #10559 from alexeystn/fix_boxparalyze_disarm
This commit is contained in:
parent
e0c4560c1c
commit
61a66ca85e
1 changed files with 2 additions and 2 deletions
|
@ -935,7 +935,7 @@ bool processRx(timeUs_t currentTimeUs)
|
||||||
disarmAt = currentTimeUs + autoDisarmDelayUs; // extend auto-disarm timer
|
disarmAt = currentTimeUs + autoDisarmDelayUs; // extend auto-disarm timer
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!IS_RC_MODE_ACTIVE(BOXPARALYZE)
|
if (!(IS_RC_MODE_ACTIVE(BOXPARALYZE) && !ARMING_FLAG(ARMED))
|
||||||
#ifdef USE_CMS
|
#ifdef USE_CMS
|
||||||
&& !cmsInMenu
|
&& !cmsInMenu
|
||||||
#endif
|
#endif
|
||||||
|
@ -956,7 +956,7 @@ bool processRx(timeUs_t currentTimeUs)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!cliMode && !IS_RC_MODE_ACTIVE(BOXPARALYZE)) {
|
if (!cliMode && !(IS_RC_MODE_ACTIVE(BOXPARALYZE) && !ARMING_FLAG(ARMED))) {
|
||||||
processRcAdjustments(currentControlRateProfile);
|
processRcAdjustments(currentControlRateProfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue