summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-01-02 22:42:18 -0800
committerKeith Packard <keithp@keithp.com>2012-01-02 22:42:18 -0800
commit54346d3f2b0acec9b4ce0a8dbde2fdcfe2b3ae8d (patch)
tree906ed9a963b542d8cb91971eb37b17e9d082af22
parent9e4ef8b3f9d116b52e48a778bb2846901f79272a (diff)
altosui: Fix AltosTelemetryReader move
Lost the provided link value causing a crash. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosui/altoslib/src/org/altusmetrum/AltosLib/AltosTelemetryReader.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/altosui/altoslib/src/org/altusmetrum/AltosLib/AltosTelemetryReader.java b/altosui/altoslib/src/org/altusmetrum/AltosLib/AltosTelemetryReader.java
index d9b7c4b9..ae4dd554 100644
--- a/altosui/altoslib/src/org/altusmetrum/AltosLib/AltosTelemetryReader.java
+++ b/altosui/altoslib/src/org/altusmetrum/AltosLib/AltosTelemetryReader.java
@@ -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;