From b9e83755f3ac562c3423778b984dc9b9961821e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Vale=20Gon=C3=A7alves?= Date: Tue, 26 Apr 2016 17:20:26 +0100 Subject: [PATCH] Copter: Notify GCS that Flight mode change failed Copter: Notify GCS that Flight mode change has failed --- ArduCopter/flight_mode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduCopter/flight_mode.cpp b/ArduCopter/flight_mode.cpp index 9e7b3de2a0..6bdc9fb91d 100644 --- a/ArduCopter/flight_mode.cpp +++ b/ArduCopter/flight_mode.cpp @@ -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