Skip to content

Commit

Permalink
Update arming disable flag (#3660)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Dec 8, 2023
1 parent 6008284 commit f16fea8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/tabs/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ setup.initialize = function (callback) {
disarmFlagElements = disarmFlagElements.concat(['ACC_CALIBRATION', 'MOTOR_PROTOCOL']);
}

if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_46)) {
disarmFlagElements.splice(disarmFlagElements.indexOf('RPMFILTER'), 0, 'DSHOT_TELEM');
}

// Always the latest element
disarmFlagElements = disarmFlagElements.concat(['ARM_SWITCH']);

Expand Down

0 comments on commit f16fea8

Please sign in to comment.