mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-20 14:55:15 +03:00
Fix VTX when PowerLevel tag is empty
This commit is contained in:
parent
9278e8ed77
commit
de2ce14ca7
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ TABS.vtx.initialize = function (callback) {
|
|||
if (VTX_CONFIG.vtx_table_available) {
|
||||
let powerLevel = TABS.vtx.VTXTABLE_POWERLEVEL_LIST[VTX_CONFIG.vtx_power - 1].vtxtable_powerlevel_label;
|
||||
if (powerLevel.trim() === '') {
|
||||
powerLevel = i;
|
||||
powerLevel = VTX_CONFIG.vtx_power;
|
||||
}
|
||||
$("#vtx_power_description").text(powerLevel);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue