mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
New crash flag in 4.1 jostles the disarm flags
This commit is contained in:
parent
bf9c4fece7
commit
7a815853f1
2 changed files with 7 additions and 0 deletions
|
@ -233,6 +233,9 @@ TABS.setup.initialize = function (callback) {
|
|||
disarmFlagElements.splice(disarmFlagElements.indexOf('OSD_MENU'), 1);
|
||||
disarmFlagElements = disarmFlagElements.concat(['RESC']);
|
||||
}
|
||||
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
|
||||
disarmFlagElements.splice(disarmFlagElements.indexOf('THROTTLE'), 0, 'CRASH');
|
||||
}
|
||||
|
||||
// Always the latest element
|
||||
disarmFlagElements = disarmFlagElements.concat(['ARM_SWITCH']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue