From 9f29606d1c915f0dd64a06babf628c623311783a Mon Sep 17 00:00:00 2001 From: Patrick Menschel Date: Mon, 11 Nov 2024 17:33:10 +0100 Subject: [PATCH] AP_Tramp: Fix _configuration_finished indication The flag _configuration_finished in AP_VideoTX is not set by AP_Tramp. Therefore OSD item VTX_PWR blinks forever. --- libraries/AP_VideoTX/AP_Tramp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_VideoTX/AP_Tramp.cpp b/libraries/AP_VideoTX/AP_Tramp.cpp index 54f62a382f..afe6f07ac7 100644 --- a/libraries/AP_VideoTX/AP_Tramp.cpp +++ b/libraries/AP_VideoTX/AP_Tramp.cpp @@ -143,6 +143,8 @@ char AP_Tramp::handle_response(void) debug("device config: freq: %u, cfg pwr: %umw, act pwr: %umw, pitmode: %u", unsigned(freq), unsigned(power), unsigned(cur_act_power), unsigned(pit_mode)); + // update the "_configuration_finished" flag, otherwise OSD item VTX_POWER blinks forever + vtx.set_configuration_finished(!update_pending); return 'v'; }