altosui: Fix AltosTelemetryReader move
authorKeith Packard <keithp@keithp.com>
Tue, 3 Jan 2012 06:42:18 +0000 (22:42 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 3 Jun 2012 02:37:29 +0000 (19:37 -0700)
Lost the provided link value causing a crash.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/altoslib/src/org/altusmetrum/AltosLib/AltosTelemetryReader.java

index 2cc2822a4dbcce7bd939d7698dead19c3ee54729..67ac1b6518cfb94f60765c2b9c3b94a86b403015 100644 (file)
@@ -105,6 +105,7 @@ public class AltosTelemetryReader extends AltosFlightReader {
 
        public AltosTelemetryReader (AltosLink in_link)
                throws IOException, InterruptedException, TimeoutException {
+               link = in_link;
                log = new AltosLog(link);
                name = link.name;
                previous = null;