Skip to content

Commit

Permalink
manualcontrol: fix non-corner arming (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlyle authored Feb 13, 2018
1 parent e43e527 commit eb9413b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flight/Modules/ManualControl/transmitter_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ static void process_transmitter_events(ManualControlCommandData * cmd, ManualCon
if (settings->Arming == MANUALCONTROLSETTINGS_ARMING_SWITCH ||
settings->Arming == MANUALCONTROLSETTINGS_ARMING_SWITCHTHROTTLE) {
control_status = STATUS_ARM_VALID;
} if (settings->Arming == MANUALCONTROLSETTINGS_ARMING_CORNERSTHROTTLE) {
} else if (settings->Arming == MANUALCONTROLSETTINGS_ARMING_CORNERSTHROTTLE) {
control_status = STATUS_TOGGLE_ARM;
} else {
control_status = STATUS_ARM_INVALID;
Expand Down

0 comments on commit eb9413b

Please sign in to comment.