Skip to content

Commit

Permalink
Update IMU (remove legacy) (#802)
Browse files Browse the repository at this point in the history
Update IMU
  • Loading branch information
haslinghuis authored Jan 2, 2025
1 parent 2769c28 commit 20def91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/flightlog_fielddefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,10 @@ export function adjustFieldDefsList(firmwareType, firmwareVersion) {
// Flight mode names
if (semver.gte(firmwareVersion, "4.6.0")) {
FLIGHT_LOG_FLIGHT_MODE_NAME = FLIGHT_LOG_FLIGHT_MODE_NAME_POST_4_5.slice(0);
ACC_HARDWARE.splice(ACC_HARDWARE.indexOf("ADXL345"), 1);
ACC_HARDWARE.splice(ACC_HARDWARE.indexOf("MMA8452"), 1);
ACC_HARDWARE.splice(ACC_HARDWARE.indexOf("BMA280"), 1);
ACC_HARDWARE.splice(ACC_HARDWARE.indexOf("LSM303DLHC"), 1);
} else {
FLIGHT_LOG_FLIGHT_MODE_NAME = FLIGHT_LOG_FLIGHT_MODE_NAME_POST_3_3.slice(0);
if (semver.lt(firmwareVersion, "3.4.0")) {
Expand Down

0 comments on commit 20def91

Please sign in to comment.