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:
parent
bdfb1c04ad
commit
9b8c7b05d0
2 changed files with 16 additions and 4 deletions
|
@ -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 [
|
||||||
|
|
10
js/fc.js
10
js/fc.js
|
@ -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 [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue