mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 08:15:19 +03:00
Add ICM20689 acc/gyro
This commit is contained in:
parent
f6cb656cde
commit
ca46f477ab
1 changed files with 4 additions and 1 deletions
5
js/fc.js
5
js/fc.js
|
@ -953,7 +953,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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue