mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 21:05:30 +03:00
Merge pull request #1612 from McGiverGim/vtx_load_save
Add save/load buttons for the VTX Table
This commit is contained in:
commit
7f1934b946
4 changed files with 286 additions and 53 deletions
|
@ -2102,8 +2102,12 @@ MspHelper.prototype.crunch = function(code) {
|
|||
buffer.push8(VTXTABLE_BAND.vtxtable_band_name.charCodeAt(i));
|
||||
}
|
||||
|
||||
buffer.push8(VTXTABLE_BAND.vtxtable_band_letter.charCodeAt(0))
|
||||
.push8(VTXTABLE_BAND.vtxtable_band_is_factory_band ? 1 : 0);
|
||||
if (VTXTABLE_BAND.vtxtable_band_letter != '') {
|
||||
buffer.push8(VTXTABLE_BAND.vtxtable_band_letter.charCodeAt(0))
|
||||
} else {
|
||||
buffer.push8(' '.charCodeAt(0));
|
||||
}
|
||||
buffer.push8(VTXTABLE_BAND.vtxtable_band_is_factory_band ? 1 : 0);
|
||||
|
||||
buffer.push8(VTXTABLE_BAND.vtxtable_band_frequencies.length);
|
||||
for (let i = 0; i < VTXTABLE_BAND.vtxtable_band_frequencies.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue