projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783a541
)
altoslib: Flush output when disabling remote
author
Keith Packard
<keithp@keithp.com>
Sat, 8 Aug 2020 04:51:39 +0000
(21:51 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 8 Aug 2020 04:51:39 +0000
(21:51 -0700)
This speeds up sending data to the other end.
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosLink.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosLink.java
b/altoslib/AltosLink.java
index 9946b83586f18d082268fb86a0761da1ac92f7f9..b713b3dcc9cfebfb0bffc7f145c216b9aea0be79 100644
(file)
--- a/
altoslib/AltosLink.java
+++ b/
altoslib/AltosLink.java
@@
-539,6
+539,7
@@
public abstract class AltosLink implements Runnable {
if (debug)
System.out.printf("stop remote\n");
try {
+ flush_output();
flush_input();
} finally {
printf ("~\n");