mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Fix motor stop not being deactivated with Airmode Feature
This commit is contained in:
parent
6f28ba0f56
commit
9160a2adbc
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ void mixTable(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Motor stop handling
|
// Motor stop handling
|
||||||
if (feature(FEATURE_MOTOR_STOP) && ARMING_FLAG(ARMED) && !feature(FEATURE_3D) && !IS_RC_MODE_ACTIVE(BOXAIRMODE)) {
|
if (feature(FEATURE_MOTOR_STOP) && ARMING_FLAG(ARMED) && !feature(FEATURE_3D) && !isAirmodeActive()) {
|
||||||
if (((rcData[THROTTLE]) < rxConfig->mincheck)) {
|
if (((rcData[THROTTLE]) < rxConfig->mincheck)) {
|
||||||
motor[i] = escAndServoConfig->mincommand;
|
motor[i] = escAndServoConfig->mincommand;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue