1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 16:55:22 +03:00

Merge pull request #196 from iNavFlight/ublox7-select

UBLOX7 selectable for 1.7.1 and newer
This commit is contained in:
Paweł Spychalski 2017-05-23 21:08:31 +02:00 committed by GitHub
commit a86c3138d5
2 changed files with 16 additions and 4 deletions

View file

@ -11428,12 +11428,18 @@ var FC = {
];
},
getGpsProtocols: function () {
return [
var data = [
'NMEA',
'UBLOX',
'I2C-NAV',
'DJI NAZA'
]
];
if (semver.gte(CONFIG.flightControllerVersion, "1.7.1")) {
data.push('UBLOX7')
}
return data;
},
getGpsBaudRates: function () {
return [

View file

@ -545,12 +545,18 @@ var FC = {
];
},
getGpsProtocols: function () {
return [
var data = [
'NMEA',
'UBLOX',
'I2C-NAV',
'DJI NAZA'
]
];
if (semver.gte(CONFIG.flightControllerVersion, "1.7.1")) {
data.push('UBLOX7')
}
return data;
},
getGpsBaudRates: function () {
return [