Skip to content

Commit 189a01c

Browse files
authored
Add missing support for DSHOT_BBANG arming disabled flag (#1733)
Add missing support for DSHOT_BBANG arming disabled flag
2 parents 8d40f35 + 8ebed0a commit 189a01c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

locales/en/messages.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,10 @@
918918
"message": "A configuration change requires a reboot",
919919
"description": "Message that pops up to describe the REBOOT_REQD arming disable flag"
920920
},
921+
"initialSetupArmingDisableFlagsTooltipDSHOT_BBANG": {
922+
"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.",
923+
"description": "Message that pops up to describe the DSHOT_BBANG arming disable flag"
924+
},
921925
"initialSetupArmingDisableFlagsTooltipARM_SWITCH": {
922926
"message": "One of the others disarm flags is active when arming",
923927
"description": "Message that pops up to describe the ARM_SWITCH arming disable flag"

src/js/tabs/setup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ TABS.setup.initialize = function (callback) {
236236
}
237237
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
238238
disarmFlagElements.splice(disarmFlagElements.indexOf('THROTTLE'), 0, 'CRASH');
239-
disarmFlagElements = disarmFlagElements.concat(['REBOOT_REQD']);
239+
disarmFlagElements = disarmFlagElements.concat(['REBOOT_REQD',
240+
'DSHOT_BBANG']);
240241
}
241242

242243
// Always the latest element

0 commit comments

Comments
 (0)