mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 15:25:22 +03:00
Fix bad powerTable in vtx lua output
This commit is contained in:
parent
91f4fbd009
commit
a3e879288c
1 changed files with 1 additions and 1 deletions
|
@ -957,7 +957,7 @@ TABS.vtx.initialize = function (callback) {
|
|||
frequenciesString += " },\n";
|
||||
freqBandsString += bands_list[1].frequencies.length + ",\n";
|
||||
for (index = 0, len = power_list.length; index < len; ++index) {
|
||||
powersString += "[" + power_list[index].value + "]=" + power_list[index].label + ", ";
|
||||
powersString += "[" + (index + 1) + "]=" + power_list[index].label + ", ";
|
||||
}
|
||||
powersString += "},\n";
|
||||
return `return {\n ${frequenciesString} ${freqBandsString} ${bandsString} ${powersString}}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue