Merge pull request #846 from mikeller/improve_arming_disabled_flag_display
Made display of arming disabled reasons match number of beeps.10.3.x-maintenance
commit
7aa40226e7
|
@ -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