Skip to content

Commit 1f2014e

Browse files
authored
Gyro filtering restructure debug modes (#362)
Gyro filtering restructure debug modes
2 parents 680ab91 + 9668064 commit 1f2014e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/flightlog_fielddefs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,10 @@ function adjustFieldDefsList(firmwareType, firmwareVersion) {
411411
if(semver.gte(firmwareVersion, '4.0.0')) {
412412
DEBUG_MODE.splice(DEBUG_MODE.indexOf('RX_FRSKY_SPI'), 0, 'GYRO_RAW');
413413
}
414+
if(semver.gte(firmwareVersion, '4.1.0')) {
415+
DEBUG_MODE.splice(DEBUG_MODE.indexOf('DUAL_GYRO'), 1);
416+
DEBUG_MODE.splice(DEBUG_MODE.indexOf('DUAL_GYRO_COMBINED'), 1);
417+
}
414418
DEBUG_MODE = makeReadOnly(DEBUG_MODE);
415419

416420
// Flight mode names

0 commit comments

Comments
 (0)