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.
This commit is contained in:
Patrick Menschel 2024-11-11 17:33:10 +01:00 committed by Andrew Tridgell
parent d87bb2bb05
commit b7d7ece0eb
1 changed files with 2 additions and 0 deletions

View File

@ -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';
}