1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Deleted code specific to fixed wing that set motors to mincommand when

disarmed.

Ensure that servo mixes that use calculated throttle output (motor 0)
adhere to the armed/disarmed state, this is achieved by ensuring that
motor outputs, including the effects of MOTOR_STOP are calculated BEFORE
using motor 0 as an input source for the servo mixer.
This commit is contained in:
Dominic Clifton 2015-07-09 20:23:37 +01:00
parent 84773a8c91
commit c9f5ca3faf
3 changed files with 56 additions and 61 deletions

View file

@ -1403,7 +1403,7 @@ static void cliExit(char *cmdline)
bufferIndex = 0;
cliMode = 0;
// incase a motor was left running during motortest, clear it here
mixerResetMotors();
mixerResetDisarmedMotors();
cliReboot();
cliPort = NULL;