mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +03:00
Add BMP388 baro
This commit is contained in:
parent
2df322554b
commit
07083f93ba
1 changed files with 3 additions and 3 deletions
6
js/fc.js
6
js/fc.js
|
@ -942,10 +942,10 @@ var FC = {
|
||||||
return ["NONE", "AUTO", "HMC5883", "AK8975", "GPSMAG", "MAG3110", "AK8963", "IST8310", "QMC5883", "MPU9250", "IST8308", "LIS3MDL", "FAKE"];
|
return ["NONE", "AUTO", "HMC5883", "AK8975", "GPSMAG", "MAG3110", "AK8963", "IST8310", "QMC5883", "MPU9250", "IST8308", "LIS3MDL", "FAKE"];
|
||||||
},
|
},
|
||||||
getBarometerNames: function () {
|
getBarometerNames: function () {
|
||||||
if (semver.gte(CONFIG.flightControllerVersion, "2.3.0")) {
|
if (semver.gte(CONFIG.flightControllerVersion, "2.4.0")) {
|
||||||
return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "SPL06", "FAKE"];
|
return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "SPL06", "BMP388", "FAKE"];
|
||||||
} else {
|
} else {
|
||||||
return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "FAKE"];
|
return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "SPL06", "FAKE"];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getPitotNames: function () {
|
getPitotNames: function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue