mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-20 23:05:15 +03:00
Add support for ACC_CALIB arming disabled flag
This commit is contained in:
parent
96f9eaf2ea
commit
c6eaefd1b9
2 changed files with 7 additions and 0 deletions
|
@ -922,6 +922,10 @@
|
||||||
"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.",
|
"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"
|
"description": "Message that pops up to describe the DSHOT_BBANG arming disable flag"
|
||||||
},
|
},
|
||||||
|
"initialSetupArmingDisableFlagsTooltipACC_CALIB": {
|
||||||
|
"message": "The accelerometer has not been calibrated and features are enabled that rely on it. Calibrate the accelerometer.",
|
||||||
|
"description": "Message that pops up to describe the ACC_CALIB arming disable flag"
|
||||||
|
},
|
||||||
"initialSetupArmingDisableFlagsTooltipARM_SWITCH": {
|
"initialSetupArmingDisableFlagsTooltipARM_SWITCH": {
|
||||||
"message": "One of the others disarm flags is active when arming",
|
"message": "One of the others disarm flags is active when arming",
|
||||||
"description": "Message that pops up to describe the ARM_SWITCH arming disable flag"
|
"description": "Message that pops up to describe the ARM_SWITCH arming disable flag"
|
||||||
|
|
|
@ -239,6 +239,9 @@ TABS.setup.initialize = function (callback) {
|
||||||
disarmFlagElements = disarmFlagElements.concat(['REBOOT_REQD',
|
disarmFlagElements = disarmFlagElements.concat(['REBOOT_REQD',
|
||||||
'DSHOT_BBANG']);
|
'DSHOT_BBANG']);
|
||||||
}
|
}
|
||||||
|
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||||
|
disarmFlagElements = disarmFlagElements.concat(['ACC_CALIB']);
|
||||||
|
}
|
||||||
|
|
||||||
// Always the latest element
|
// Always the latest element
|
||||||
disarmFlagElements = disarmFlagElements.concat(['ARM_SWITCH']);
|
disarmFlagElements = disarmFlagElements.concat(['ARM_SWITCH']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue