From 40ce471fec174bc39b76b6493051c6c7def30d16 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Jul 2023 09:14:17 +1000 Subject: [PATCH] Plane: fixed transition started airspeed message this message was lost in recent refactoring --- ArduPlane/quadplane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduPlane/quadplane.cpp b/ArduPlane/quadplane.cpp index 3120f53507..2924ecde78 100644 --- a/ArduPlane/quadplane.cpp +++ b/ArduPlane/quadplane.cpp @@ -1546,7 +1546,8 @@ void SLT_Transition::update() quadplane.assisted_flight = true; // update transition state for vehicles using airspeed wait if (!in_forced_transition) { - if (transition_state != TRANSITION_AIRSPEED_WAIT) { + const bool show_message = transition_state != TRANSITION_AIRSPEED_WAIT || transition_start_ms == 0; + if (show_message) { gcs().send_text(MAV_SEVERITY_INFO, "Transition started airspeed %.1f", (double)aspeed); } transition_state = TRANSITION_AIRSPEED_WAIT;