summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosSerial.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-09-03 01:12:24 -0700
committerKeith Packard <keithp@keithp.com>2010-09-03 07:04:28 -0700
commite5ef42c2b22c6639d90631dbbb588f9fd2494385 (patch)
tree2ebe6d2a3a08cd7c27ad697675f68a0af2bc7c5f /ao-tools/altosui/AltosSerial.java
parent3b3aa448f3a0f44137f7530b04b58967ba5f22f5 (diff)
altosui: Report telemetry CRC errors in UI
Telemetry CRC errors can signal problems with TeleMetrum or TeleDongle units, so report them in the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosSerial.java')
-rw-r--r--ao-tools/altosui/AltosSerial.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosSerial.java b/ao-tools/altosui/AltosSerial.java
index 99ba3324..c3daf3b9 100644
--- a/ao-tools/altosui/AltosSerial.java
+++ b/ao-tools/altosui/AltosSerial.java
@@ -71,7 +71,7 @@ public class AltosSerial implements Runnable {
for (int i = 0; i < line_count; i++)
line = line + line_bytes[i];
}
- if (line.startsWith("VERSION")) {
+ if (line.startsWith("VERSION") || line.startsWith("CRC")) {
for (int e = 0; e < monitors.size(); e++) {
LinkedBlockingQueue<String> q = monitors.get(e);
q.put(line);