From: Keith Packard Date: Tue, 23 Aug 2011 06:32:36 +0000 (-0700) Subject: altosui: fix 'magic' string to signal end of config data X-Git-Tag: 0.9.7.0~8 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=e9254c3472e42d93181674b2c3cd80fe6eea696e;hp=4aebe65b089e4b825a5ae238b81e2181bd88175a 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 --- 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() {