Copter: correct comment about mode change

This commit is contained in:
Peter Barker 2017-08-24 15:27:50 +10:00 committed by Randy Mackay
parent db60e93716
commit 4b4e66e2bd

View File

@ -47,7 +47,7 @@ void Copter::read_control_switch()
if (set_mode((control_mode_t)flight_modes[switch_position].get(), MODE_REASON_TX_COMMAND)) {
// play a tone
if (control_switch_state.debounced_switch_position != -1) {
// alert user to mode change failure (except if autopilot is just starting up)
// alert user to mode change (except if autopilot is just starting up)
if (ap.initialised) {
AP_Notify::events.user_mode_change = 1;
}