mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 22:35:17 +03:00
Merge pull request #1934 from IllusionFpv/added-none-to-gps-sbas
Added none option to gps sbas
This commit is contained in:
commit
07ae6ad1e7
2 changed files with 32 additions and 5 deletions
|
@ -5656,5 +5656,29 @@
|
||||||
},
|
},
|
||||||
"dialogRatesTypeConfirm": {
|
"dialogRatesTypeConfirm": {
|
||||||
"message": "Change"
|
"message": "Change"
|
||||||
|
},
|
||||||
|
"gpsSbasAutoDetect": {
|
||||||
|
"message": "Auto-detect",
|
||||||
|
"description": "One of the options selectable for the GPS SBAS system"
|
||||||
|
},
|
||||||
|
"gpsSbasEuropeanEGNOS": {
|
||||||
|
"message": "European EGNOS",
|
||||||
|
"description": "One of the options selectable for the GPS SBAS system"
|
||||||
|
},
|
||||||
|
"gpsSbasNorthAmericanWAAS": {
|
||||||
|
"message": "North American WAAS",
|
||||||
|
"description": "One of the options selectable for the GPS SBAS system"
|
||||||
|
},
|
||||||
|
"gpsSbasJapaneseMSAS": {
|
||||||
|
"message": "Japanese MSAS",
|
||||||
|
"description": "One of the options selectable for the GPS SBAS system"
|
||||||
|
},
|
||||||
|
"gpsSbasIndianGAGAN": {
|
||||||
|
"message": "Indian GAGAN",
|
||||||
|
"description": "One of the options selectable for the GPS SBAS system"
|
||||||
|
},
|
||||||
|
"gpsSbasNone": {
|
||||||
|
"message": "None",
|
||||||
|
"description": "One of the options selectable for the GPS SBAS system"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -702,12 +702,15 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
||||||
];
|
];
|
||||||
|
|
||||||
var gpsSbas = [
|
var gpsSbas = [
|
||||||
'Auto-detect',
|
i18n.getMessage('gpsSbasAutoDetect'),
|
||||||
'European EGNOS',
|
i18n.getMessage('gpsSbasEuropeanEGNOS'),
|
||||||
'North American WAAS',
|
i18n.getMessage('gpsSbasNorthAmericanWAAS'),
|
||||||
'Japanese MSAS',
|
i18n.getMessage('gpsSbasJapaneseMSAS'),
|
||||||
'Indian GAGAN'
|
i18n.getMessage('gpsSbasIndianGAGAN')
|
||||||
];
|
];
|
||||||
|
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||||
|
gpsSbas.push(i18n.getMessage('gpsSbasNone'));
|
||||||
|
}
|
||||||
|
|
||||||
var gps_protocol_e = $('select.gps_protocol');
|
var gps_protocol_e = $('select.gps_protocol');
|
||||||
for (var i = 0; i < gpsProtocols.length; i++) {
|
for (var i = 0; i < gpsProtocols.length; i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue