altoslib: Fix replay to run in realtime again
[fw/altos] / altoslib / AltosReplayReader.java
index bcc07587145804905b6bb4f8157ab1458b4abd9d..9007275432132b041a766dfe5b91d9dc2f583152 100644 (file)
@@ -40,7 +40,7 @@ public class AltosReplayReader extends AltosFlightReader {
        public void update(AltosState state) throws InterruptedException {
                /* Make it run in realtime after the rocket leaves the pad */
                if (state.state > AltosLib.ao_flight_pad && state.time_change > 0)
-                       Thread.sleep((int) (Math.min(state.time_change,10) * 100));
+                       Thread.sleep((int) (Math.min(state.time_change,10) * 1000));
                state.set_received_time(System.currentTimeMillis());
        }