Made display of arming disabled reasons match number of beeps.
parent
8c9ca07b3f
commit
cfd848a4d1
|
@ -526,7 +526,7 @@
|
|||
"message": "Arming Allowed"
|
||||
},
|
||||
"initialSetupArmingDisableFlagsTooltip": {
|
||||
"message": "List of flags indicating why arming is currently not allowed. Please refer to the Wiki for a description of what these flags mean."
|
||||
"message": "List of flags indicating why arming is currently not allowed. The first and most important value corresponds to the number of warning beeps that sound when arming is attempted. Please refer to the Wiki ('Arming Sequence & Safety' page) for a description of what these flags mean."
|
||||
},
|
||||
"initialSetupGPSHead": {
|
||||
"message": "GPS"
|
||||
|
|
|
@ -192,7 +192,7 @@ TABS.setup.initialize = function (callback) {
|
|||
var flagIndicies = [];
|
||||
for (var i = 0; i < 32; i++) {
|
||||
if (CONFIG.armingDisableFlags & (1 << i)) {
|
||||
flagIndicies.push(i);
|
||||
flagIndicies.push(i + 1);
|
||||
}
|
||||
}
|
||||
armingString = flagIndicies;
|
||||
|
|
Loading…
Reference in New Issue