mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Copter: minor format change
This commit is contained in:
parent
972c8e47d2
commit
6a15d21704
@ -45,8 +45,9 @@ static void read_control_switch()
|
||||
|
||||
// set the debounced switch position
|
||||
control_switch_state.debounced_switch_position = switch_position;
|
||||
}
|
||||
else if (control_switch_state.last_switch_position != -1) {
|
||||
|
||||
} else if (control_switch_state.last_switch_position != -1) {
|
||||
// alert user to mode change failure
|
||||
AP_Notify::events.user_mode_change_failed = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user