1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Merge pull request #1185 from awolf78/master

Added MSP to GPS provider options in configuration tab
This commit is contained in:
Michael Keller 2018-09-01 12:51:55 +12:00 committed by GitHub
commit 2209998e41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -531,6 +531,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
'NMEA',
'UBLOX'
];
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
gpsProtocols.push('MSP');
}
var gpsBaudRates = [
'115200',
@ -548,7 +551,6 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
'Indian GAGAN'
];
var gps_protocol_e = $('select.gps_protocol');
for (var i = 0; i < gpsProtocols.length; i++) {
gps_protocol_e.append('<option value="' + i + '">' + gpsProtocols[i] + '</option>');