diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-02 18:01:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-02 18:03:37 -0700 |
commit | 3cc2eed6cdafe788a8617ab45c6664077e76411e (patch) | |
tree | b30bcf2aee916c26c55e76d6a3bc3902c893fcb5 /altosui/AltosConfigData.java | |
parent | 37c41c962ea4631e62307a57d2ce6572b87fd743 (diff) |
altosui: Simple timeouts don't work with query data
To get the query to come back, it's best to abort and retry the
command, other wise the command may have been lost to the previous
connection.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosConfigData.java')
-rw-r--r-- | altosui/AltosConfigData.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosConfigData.java b/altosui/AltosConfigData.java index 6b80171a..1d50ade9 100644 --- a/altosui/AltosConfigData.java +++ b/altosui/AltosConfigData.java @@ -85,7 +85,7 @@ public class AltosConfigData implements Iterable<String> { serial_line.printf("c s\nv\n"); lines = new LinkedList<String>(); for (;;) { - String line = serial_line.get_reply(5000); + String line = serial_line.get_reply_no_dialog(5000); if (line == null) throw new TimeoutException(); if (line.contains("Syntax error")) |