Copter: Notify GCS that Flight mode change failed
Copter: Notify GCS that Flight mode change has failed
This commit is contained in:
parent
946d30476a
commit
b9e83755f3
@ -142,6 +142,7 @@ bool Copter::set_mode(control_mode_t mode, mode_reason_t reason)
|
||||
} else {
|
||||
// Log error that we failed to enter desired flight mode
|
||||
Log_Write_Error(ERROR_SUBSYSTEM_FLIGHT_MODE,mode);
|
||||
gcs_send_text(MAV_SEVERITY_WARNING,"Flight mode change failed");
|
||||
}
|
||||
|
||||
// update notify object
|
||||
|
Loading…
Reference in New Issue
Block a user