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>
Tue, 3 Jan 2012 06:42:18 +0000 (22:42 -0800)
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 d9b7c4b9ef134b87b918cb0fb520d31470c4efe4..ae4dd5541f114c8192abc64566c124000eb063f2 100644 (file)
@@ -78,6 +78,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;