Skip to content

Commit

Permalink
Fix usage of splice (#4118)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Aug 3, 2024
1 parent c1bc967 commit f9e4d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/tabs/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ setup.initialize = function (callback) {
];

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

// Arming allowed flag
Expand Down

0 comments on commit f9e4d00

Please sign in to comment.