AP_OSD_Screen: Blink the OSD VTX Power element indicating configuration in progress

This commit is contained in:
giacomo892 2021-05-27 17:46:45 +02:00 committed by Andrew Tridgell
parent 9114caf213
commit e8085fac97
1 changed files with 1 additions and 1 deletions

View File

@ -1956,7 +1956,7 @@ void AP_OSD_Screen::draw_vtx_power(uint8_t x, uint8_t y)
if(!vtx->has_option(AP_VideoTX::VideoOptions::VTX_PITMODE)){
powr = vtx->get_power_mw();
}
backend->write(x, y, false, "%4hu%c", powr, SYM_MW);
backend->write(x, y, !vtx->is_configuration_finished(), "%4hu%c", powr, SYM_MW);
}
#if AP_TERRAIN_AVAILABLE
void AP_OSD_Screen::draw_hgt_abvterr(uint8_t x, uint8_t y)