From e52aa154b05b9dd55fc9a6e1cb99c910d602de0f Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Fri, 13 Aug 2021 10:49:30 +0200 Subject: [PATCH] Cleanup Sensor setup --- js/fc.js | 3 --- tabs/configuration.html | 14 +++++------ tabs/configuration.js | 56 ++++------------------------------------- 3 files changed, 12 insertions(+), 61 deletions(-) diff --git a/js/fc.js b/js/fc.js index 8f85fa42..27992798 100644 --- a/js/fc.js +++ b/js/fc.js @@ -863,9 +863,6 @@ var FC = { getAccelerometerNames: function () { return [ "NONE", "AUTO", "ADXL345", "MPU6050", "MMA845x", "BMA280", "LSM303DLHC", "MPU6000", "MPU6500", "MPU9250", "BMI160", "ICM20689", "FAKE"]; }, - getMagnetometerNames: function () { - return ["NONE", "AUTO", "HMC5883", "AK8975", "GPSMAG", "MAG3110", "AK8963", "IST8310", "QMC5883", "MPU9250", "IST8308", "LIS3MDL", "MSP", "FAKE"]; - }, getBarometerNames: function () { if (semver.gte(CONFIG.flightControllerVersion, "2.6.0")) { return ["NONE", "AUTO", "BMP085", "MS5611", "BMP280", "MS5607", "LPS25H", "SPL06", "BMP388", "DPS310", "MSP", "FAKE"]; diff --git a/tabs/configuration.html b/tabs/configuration.html index c551870d..5aa01f00 100644 --- a/tabs/configuration.html +++ b/tabs/configuration.html @@ -14,39 +14,39 @@
- +
- + +
- +
- +
- +