mirror of https://github.com/ArduPilot/ardupilot
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:
parent
3bbcd8b0a3
commit
9f29606d1c
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue