1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-26 17:55:21 +03:00

Merge pull request #559 from iNavFlight/de_mag_names

Compass names catch-up with firmware
This commit is contained in:
Konstantin Sharlaimov 2018-08-02 20:42:47 +02:00 committed by GitHub
commit 0642472960
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -961,7 +961,7 @@ var FC = {
} }
}, },
getMagnetometerNames: function () { getMagnetometerNames: function () {
return ["NONE", "AUTO", "HMC5883", "AK8975", "GPSMAG", "MAG3110", "AK8963", "IST8310", "QMC5883", "MPU9250", "FAKE"]; return ["NONE", "AUTO", "HMC5883", "AK8975", "GPSMAG", "MAG3110", "AK8963", "IST8310", "QMC5883", "MPU9250", "IST8308", "LIS3MDL", "FAKE"];
}, },
getBarometerNames: function () { getBarometerNames: function () {
if (semver.gte(CONFIG.flightControllerVersion, "1.6.2")) { if (semver.gte(CONFIG.flightControllerVersion, "1.6.2")) {