From 07083f93baf8d08a40e198d20b7d3dae201a44f3 Mon Sep 17 00:00:00 2001 From: Michel Pastor Date: Sun, 1 Dec 2019 00:38:43 +0100 Subject: [PATCH] Add BMP388 baro --- js/fc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/fc.js b/js/fc.js index 97aa3ca4..964dbf97 100644 --- a/js/fc.js +++ b/js/fc.js @@ -942,10 +942,10 @@ var FC = { return ["NONE", "AUTO", "HMC5883", "AK8975", "GPSMAG", "MAG3110", "AK8963", "IST8310", "QMC5883", "MPU9250", "IST8308", "LIS3MDL", "FAKE"]; }, getBarometerNames: function () { - if (semver.gte(CONFIG.flightControllerVersion, "2.3.0")) { - return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "SPL06", "FAKE"]; + if (semver.gte(CONFIG.flightControllerVersion, "2.4.0")) { + return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "SPL06", "BMP388", "FAKE"]; } else { - return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "FAKE"]; + return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "SPL06", "FAKE"]; } }, getPitotNames: function () {