Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Pastor <shellixyz@users.noreply.github.com>2018-12-09 06:06:45 +0300
committerGitHub <noreply@github.com>2018-12-09 06:06:45 +0300
commit6e5b98f995d14d168188e8d01b6e8468074344ad (patch)
treee087ac6b648f251b3535fb36e24d1aee5380209b
parent37250b9bbd4efee72055f32d3a058cd217b239f2 (diff)
parentca46f477ab8dab7011adbb5c1507d19a1a8b5829 (diff)
Merge pull request #573 from shellixyz/acc_icm20689_acc_gyro
Add ICM20689 acc/gyro
-rw-r--r--js/fc.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/fc.js b/js/fc.js
index 167e6764..6e8d5c26 100644
--- a/js/fc.js
+++ b/js/fc.js
@@ -965,7 +965,10 @@ var FC = {
return [];
},
getAccelerometerNames: function () {
- if (semver.gte(CONFIG.flightControllerVersion, "2.0.0")) {
+ if (semver.gte(CONFIG.flightControllerVersion, "2.1.0")) {
+ return [ "NONE", "AUTO", "ADXL345", "MPU6050", "MMA845x", "BMA280", "LSM303DLHC", "MPU6000", "MPU6500", "MPU9250", "BMI160", "ICM20689", "FAKE"];
+ }
+ else if (semver.gte(CONFIG.flightControllerVersion, "2.0.0")) {
return [ "NONE", "AUTO", "ADXL345", "MPU6050", "MMA845x", "BMA280", "LSM303DLHC", "MPU6000", "MPU6500", "MPU9250", "BMI160", "FAKE"];
}
else {