Showing 1 changed files with 3 additions and 3 deletions
+3 -3
Nasal/afcs.nas
... ...
@@ -215,10 +215,10 @@ var APClass = {
215 215
                 setprop('/it-stec55x/input/ap-master-sw', 1);
216 216
             },
217 217
             updateDisplay: func {
218
+                var armed     = '';
219
+                var active    = '';
220
+                var reference = '';
218 221
                 if (stec55x.pitchMode != 1) {
219
-                    var armed     = '';
220
-                    var active    = '';
221
-                    var reference = '';
222 222
                     if (stec55x.ALT_annun.getBoolValue()) {
223 223
                         if (abs(data.alt - afcs.getValue('selected-alt-ft')) < 150) {
224 224
                             active    = 'ALT';