Skip to content

Commit

Permalink
AP_Tramp: Fix _configuration_finished indication
Browse files Browse the repository at this point in the history
The flag _configuration_finished in AP_VideoTX
is not set by AP_Tramp.
Therefore OSD item VTX_PWR blinks forever.
  • Loading branch information
menschel committed Nov 11, 2024
1 parent da69e22 commit 9377e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_VideoTX/AP_Tramp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit 9377e69

Please sign in to comment.