... | ... |
@@ -77,6 +77,9 @@ var deviceClass = { |
77 | 77 |
}; |
78 | 78 |
|
79 | 79 |
var powerOn = func { |
80 |
+ foreach (var freq; keys(data.timers)) |
|
81 |
+ data.timers[freq].start(); |
|
82 |
+ |
|
80 | 83 |
foreach (var name; keys(flightdeck)) |
81 | 84 |
if (zkv.getNode(name) != nil) |
82 | 85 |
# thread.newthread(func { |
... | ... |
@@ -193,9 +193,6 @@ var displayClass = { |
193 | 193 |
|
194 | 194 |
me.loadGroup(groups); |
195 | 195 |
|
196 |
- foreach (var freq; keys(data.timers)) |
|
197 |
- data.timers[freq].start(); |
|
198 |
- |
|
199 | 196 |
if (me.device.role == 'PFD') { |
200 | 197 |
me.updateAI(); |
201 | 198 |
me.updateVSI(); |