Add support for ACC_CALIB arming disabled flag
parent
96f9eaf2ea
commit
c6eaefd1b9
|
@ -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.",
|
||||
"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": {
|
||||
"message": "One of the others disarm flags is active when arming",
|
||||
"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',
|
||||
'DSHOT_BBANG']);
|
||||
}
|
||||
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||
disarmFlagElements = disarmFlagElements.concat(['ACC_CALIB']);
|
||||
}
|
||||
|
||||
// Always the latest element
|
||||
disarmFlagElements = disarmFlagElements.concat(['ARM_SWITCH']);
|
||||
|
|
Loading…
Reference in New Issue