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 Peter Barker
parent 3bbcd8b0a3
commit 9f29606d1c
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';
}