summaryrefslogtreecommitdiff
path: root/altosui
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-22 23:32:36 -0700
committerKeith Packard <keithp@keithp.com>2011-08-22 23:32:36 -0700
commite9254c3472e42d93181674b2c3cd80fe6eea696e (patch)
treeb929fe59261facaf26fc60b0065c0b06c3a384bf /altosui
parent4aebe65b089e4b825a5ae238b81e2181bd88175a (diff)
altosui: fix 'magic' string to signal end of config data
Was using "done", which happens to be displayed by the 'l' command. Switch to 'all finished' which doesn't appear in the config data output. Yes, this method is a kludge. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui')
-rw-r--r--altosui/AltosConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosConfig.java b/altosui/AltosConfig.java
index f1743608..7cd8cb8b 100644
--- a/altosui/AltosConfig.java
+++ b/altosui/AltosConfig.java
@@ -174,7 +174,7 @@ public class AltosConfig implements ActionListener {
abort();
return;
}
- if (line.equals("done")) {
+ if (line.equals("all finished")) {
if (serial_line != null)
update_ui();
return;
@@ -244,7 +244,7 @@ public class AltosConfig implements ActionListener {
} catch (InterruptedException ie) {
}
}
- callback("done");
+ callback("all finished");
}
void save_data() {