altosui: Mark data 'Age' in monitor idle UI too
[fw/altos] / altosui / AltosIdleMonitorUI.java
index a5f41e258891054732ee867a2ef9cb1ba468197a..dbac2d332c5fbbf84812fc18549e3e806ea3b667 100644 (file)
@@ -293,7 +293,10 @@ public class AltosIdleMonitorUI extends AltosFrame implements AltosFlightDisplay
                set_font();
        }
 
+       AltosFlightStatusUpdate status_update;
+
        public void show(AltosState state, int crc_errors) {
+               status_update.saved_state = state;
                try {
                        pad.show(state, crc_errors);
                        flightStatus.show(state, crc_errors);
@@ -399,6 +402,10 @@ public class AltosIdleMonitorUI extends AltosFrame implements AltosFlightDisplay
 
                thread = new AltosIdleMonitor(this, device, remote);
 
+               status_update = new AltosFlightStatusUpdate(flightStatus);
+
+               new javax.swing.Timer(100, status_update).start();
+
                thread.start();
        }
 }