1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Minor Fix in disarmticks

This commit is contained in:
borisbstyle 2015-11-20 17:42:21 +01:00
parent 0d8dff1ce1
commit 5a7b5ad29d

View file

@ -150,6 +150,7 @@ void processRcStickPositions(rxConfig_t *rxConfig, throttleStatus_e throttleStat
if (!isUsingSticksToArm) { if (!isUsingSticksToArm) {
if (IS_RC_MODE_ACTIVE(BOXARM)) { if (IS_RC_MODE_ACTIVE(BOXARM)) {
rcDisarmTicks = 0;
// Arming via ARM BOX // Arming via ARM BOX
if (throttleStatus == THROTTLE_LOW) { if (throttleStatus == THROTTLE_LOW) {
if (ARMING_FLAG(OK_TO_ARM)) { if (ARMING_FLAG(OK_TO_ARM)) {
@ -168,8 +169,6 @@ void processRcStickPositions(rxConfig_t *rxConfig, throttleStatus_e throttleStat
mwDisarm(); mwDisarm();
} }
} }
} else {
rcDisarmTicks = 0;
} }
} }
} }