1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-21 15:25:19 +03:00

UBLOX7 selectable for 1.7.1 and newer

This commit is contained in:
Pawel Spychalski (DzikuVx) 2017-05-23 21:06:56 +02:00
parent bdfb1c04ad
commit 9b8c7b05d0
2 changed files with 16 additions and 4 deletions

View file

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

View file

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