mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 17:48:35 -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
|
// set the debounced switch position
|
||||||
control_switch_state.debounced_switch_position = 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;
|
AP_Notify::events.user_mode_change_failed = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user