From e9254c3472e42d93181674b2c3cd80fe6eea696e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 22 Aug 2011 23:32:36 -0700 Subject: [PATCH] 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 --- altosui/AltosConfig.java | 4 ++-- 1 file 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() { -- 2.30.2