From 39c35814ec76243cdced1c1c1a9d3369697b7d05 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Wed, 26 Jun 2019 11:21:48 -0700 Subject: [PATCH] Plane: Send a heartbeat on mode change --- ArduPlane/system.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index b853c28b17..87e7528af6 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -301,6 +301,7 @@ bool Plane::set_mode(Mode &new_mode, const mode_reason_t reason) // log and notify mode change logger.Write_Mode(control_mode->mode_number(), control_mode_reason); notify_mode(*control_mode); + gcs().send_message(MSG_HEARTBEAT); return true; }