summaryrefslogtreecommitdiff
path: root/altosui
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-02-07 14:40:17 -0800
committerKeith Packard <keithp@keithp.com>2015-02-07 14:40:17 -0800
commit08f07d0af123e1c307bc4c0c973da07fae8246b1 (patch)
tree384cd304bfa085dfb9521c40551ef6a60030ad8a /altosui
parent0d08c427188f7b748d9ea7651143bc843e9c2691 (diff)
altosui: Remove the dregs of AltosDroid load-old-telem code
AltosDroid used to scan the old .telem file to return to the previous flight state on restart. Now it just loads the old state object instead, a vast improvement in performance. To do that, there were some changes in the altoslib code required. This patch just removes those, fixing replay bugs in TeleGPS along the way. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui')
-rw-r--r--altosui/AltosUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index a1bc0dbb..918ed11e 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -463,7 +463,7 @@ public class AltosUI extends AltosUIFrame {
AltosStateIterable states = record_iterable(file);
if (states == null)
return null;
- return new AltosReplayReader(states.iterator(), file, true);
+ return new AltosReplayReader(states.iterator(), file);
}
static boolean process_replay(File file) {