1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 14:25:14 +03:00

Merge pull request #1934 from IllusionFpv/added-none-to-gps-sbas

Added none option to gps sbas
This commit is contained in:
Michael Keller 2020-03-24 08:43:49 +13:00 committed by GitHub
commit 07ae6ad1e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 5 deletions

View file

@ -5656,5 +5656,29 @@
},
"dialogRatesTypeConfirm": {
"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"
}
}

View file

@ -702,12 +702,15 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
];
var gpsSbas = [
'Auto-detect',
'European EGNOS',
'North American WAAS',
'Japanese MSAS',
'Indian GAGAN'
i18n.getMessage('gpsSbasAutoDetect'),
i18n.getMessage('gpsSbasEuropeanEGNOS'),
i18n.getMessage('gpsSbasNorthAmericanWAAS'),
i18n.getMessage('gpsSbasJapaneseMSAS'),
i18n.getMessage('gpsSbasIndianGAGAN')
];
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
gpsSbas.push(i18n.getMessage('gpsSbasNone'));
}
var gps_protocol_e = $('select.gps_protocol');
for (var i = 0; i < gpsProtocols.length; i++) {