1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 16:55:24 +03:00

Update sensor_types.js (ICM40609D) (#4492)

* Update sensor_types.js

* Fix quotation mark
This commit is contained in:
Mark Haslinghuis 2025-06-04 19:19:02 +02:00 committed by GitHub
parent 08e174821c
commit e85dbb71fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,13 +111,13 @@ export function sensorTypes() {
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_47)) {
removeArrayElement(gyroElements, "L3G4200D");
removeArrayElement(gyroElements, "MPU3050");
addArrayElementsAfter(gyroElements, "LSM6DSV16X", ["IIM42653", "ICM45605", "ICM45686"]);
addArrayElementsAfter(gyroElements, "LSM6DSV16X", ["IIM42653", "ICM45605", "ICM45686", "ICM40609D"]);
removeArrayElement(accElements, "ADXL345");
removeArrayElement(accElements, "MMA8452");
removeArrayElement(accElements, "BMA280");
removeArrayElement(accElements, "LSM303DLHC");
addArrayElementsAfter(accElements, "LSM6DSV16X", ["IIM42653", "ICM45605", "ICM45686"]);
addArrayElementsAfter(accElements, "LSM6DSV16X", ["IIM42653", "ICM45605", "ICM45686", "ICM40609D"]);
addArrayElement(gpsElements, "VIRTUAL");
}