mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Fix so airmode threshold works
This commit is contained in:
parent
aeb9399722
commit
374dd3f327
2 changed files with 2 additions and 2 deletions
|
@ -392,7 +392,7 @@ void processRx(timeUs_t currentTimeUs)
|
|||
const throttleStatus_e throttleStatus = calculateThrottleStatus();
|
||||
|
||||
if (isAirmodeActive() && ARMING_FLAG(ARMED)) {
|
||||
if (rcCommand[THROTTLE] >= rxConfig()->airModeActivateThreshold) airmodeIsActivated = true; // Prevent Iterm from being reset
|
||||
if (rcData[THROTTLE] >= rxConfig()->airModeActivateThreshold) airmodeIsActivated = true; // Prevent Iterm from being reset
|
||||
} else {
|
||||
airmodeIsActivated = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue