... | ... |
@@ -1327,7 +1327,7 @@ var displayClass = { |
1327 | 1327 |
|
1328 | 1328 |
updateAOA : func { |
1329 | 1329 |
# update Angle Of Attack {{{ |
1330 |
- if (me.device.data.aoa == 0) |
|
1330 |
+ if (me.device.data.aoa + me.device.data['aoa-auto'] == 0) |
|
1331 | 1331 |
return; |
1332 | 1332 |
var color = [1,1,1]; |
1333 | 1333 |
var norm = data.aoa / data['stall-aoa']; |
... | ... |
@@ -166,6 +166,7 @@ var softkeysClass = { |
166 | 166 |
.setVisible(v); |
167 | 167 |
me.device.display.screenElements['AOA-approach'] |
168 | 168 |
.setVisible(v and contains(data, 'approach-aoa')); |
169 |
+ me.device.display.updateAOA(); |
|
169 | 170 |
}, me); |
170 | 171 |
me.device.timers.aoa.start(); |
171 | 172 |
} |