diff options
author | Keith Packard <keithp@keithp.com> | 2011-01-14 16:47:19 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-01-14 16:48:29 -0800 |
commit | fcaee12a64d5e195b55b8f77c19dfc0c57ef5d58 (patch) | |
tree | b16398861fe4ee534e8a893035a93f6841648dd3 | |
parent | 2d154be89246e111a36f7c2700effbb2c97da541 (diff) |
altosui: Ensure serial line is flushed after disabling remote link
Flush the '~' character.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/AltosSerial.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/altosui/AltosSerial.java b/altosui/AltosSerial.java index 6dce6f3d..78da5d1f 100644 --- a/altosui/AltosSerial.java +++ b/altosui/AltosSerial.java @@ -250,6 +250,7 @@ public class AltosSerial implements Runnable { public void stop_remote() { printf ("~"); + flush_output(); } public AltosSerial(AltosDevice in_device) throws FileNotFoundException, AltosSerialInUseException { |