1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 00:05:22 +03:00

Add missing support for DSHOT_BBANG arming disabled flag

This commit is contained in:
Bruce Luckcuck 2019-10-10 10:15:30 -04:00
parent 8d40f35d42
commit 8ebed0a53a
2 changed files with 6 additions and 1 deletions

View file

@ -918,6 +918,10 @@
"message": "A configuration change requires a reboot",
"description": "Message that pops up to describe the REBOOT_REQD arming disable flag"
},
"initialSetupArmingDisableFlagsTooltipDSHOT_BBANG": {
"message": "Bitbanged DSHOT is not working properly and the motors can't be controlled. Likely caused by a timer conflict with other features enabled on the flight controller.",
"description": "Message that pops up to describe the DSHOT_BBANG arming disable flag"
},
"initialSetupArmingDisableFlagsTooltipARM_SWITCH": {
"message": "One of the others disarm flags is active when arming",
"description": "Message that pops up to describe the ARM_SWITCH arming disable flag"

View file

@ -236,7 +236,8 @@ TABS.setup.initialize = function (callback) {
}
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
disarmFlagElements.splice(disarmFlagElements.indexOf('THROTTLE'), 0, 'CRASH');
disarmFlagElements = disarmFlagElements.concat(['REBOOT_REQD']);
disarmFlagElements = disarmFlagElements.concat(['REBOOT_REQD',
'DSHOT_BBANG']);
}
// Always the latest element