mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Make Dshot reversing command being sent conditional on DSHOT_REVERSE mode being configured (unconfiguring it fixes problem with BLHeli_S 16.62).
This commit is contained in:
parent
f00b885799
commit
e7de536bb6
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ void tryArm(void)
|
|||
return;
|
||||
}
|
||||
#ifdef USE_DSHOT
|
||||
if (isMotorProtocolDshot()) {
|
||||
if (isMotorProtocolDshot() && isModeActivationConditionPresent(BOXDSHOTREVERSE)) {
|
||||
if (!IS_RC_MODE_ACTIVE(BOXDSHOTREVERSE)) {
|
||||
reverseMotors = false;
|
||||
for (unsigned index = 0; index < getMotorCount(); index++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue