summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosTelemetryReader.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-11-19 18:25:48 -0800
committerKeith Packard <keithp@keithp.com>2010-11-19 18:25:48 -0800
commit9ffc2eb53a47e435f39b02896b0e43ae5f47f450 (patch)
tree31fa4b96ea6c3bd2138b62540d2c94d50859824c /ao-tools/altosui/AltosTelemetryReader.java
parent68078eab3c07d8dc83302747cf6f3dcb1797c6ce (diff)
altosui: Use timeouts to recover from broken packet links.
This puts timeouts every place the system reads from the packet link and aborts the in-progress operation if it takes more than a second to get a response. Also mixed in here are persistent igniter status displays for the ejection testing UI. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosTelemetryReader.java')
-rw-r--r--ao-tools/altosui/AltosTelemetryReader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosTelemetryReader.java b/ao-tools/altosui/AltosTelemetryReader.java
index ff02c722..379e0e67 100644
--- a/ao-tools/altosui/AltosTelemetryReader.java
+++ b/ao-tools/altosui/AltosTelemetryReader.java
@@ -55,7 +55,7 @@ class AltosTelemetryReader extends AltosFlightReader {
device = in_device;
serial = new AltosSerial(device);
log = new AltosLog(serial);
- name = device.getPath();
+ name = device.toString();
telem = new LinkedBlockingQueue<AltosLine>();
serial.add_monitor(telem);