... | ... |
@@ -79,9 +79,9 @@ var APClass = { |
79 | 79 |
var armed = ''; |
80 | 80 |
foreach (var m; [ 'NAV', 'CNAV', 'REV', 'CREV' ]) |
81 | 81 |
if (stec55x[m]) armed = m; |
82 |
- if (stec55x.roll.getValue() == 4) armed = 'GPS'; |
|
83 |
- if (stec55x.APR_annun.getValue()) armed = 'APR'; |
|
84 |
- if (stec55x.HDG_annun.getValue()) armed = 'HDG'; |
|
82 |
+ if (stec55x.roll.getValue() == 0) armed = 'HDG'; |
|
83 |
+ elsif (stec55x.roll.getValue() == 2) armed = 'GPS'; |
|
84 |
+ elsif (stec55x.APR_annun.getValue()) armed = 'APR'; |
|
85 | 85 |
se['LATMOD-Armed-text'] |
86 | 86 |
.setVisible(size(armed)) |
87 | 87 |
.setText(armed); |