mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 09:15:49 +03:00
Fix usage of splice (#4118)
This commit is contained in:
parent
c1bc967f81
commit
f9e4d00e35
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue