altosui: Make AltosSerial.flush_input keep reading while non-empty
authorKeith Packard <keithp@keithp.com>
Wed, 24 Nov 2010 03:04:55 +0000 (19:04 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 24 Nov 2010 03:10:27 +0000 (19:10 -0800)
commited7cf7d262fcf7c0c677c2fb981582b571de9e5e
tree221a759c5a7c1497b6f59cc3340d96353881780a
parent3b9db8c82d26a6a2e43d4ca40742fc1bdc502380
altosui: Make AltosSerial.flush_input keep reading while non-empty

Flushing the input buffer can take a while, especially over the packet
link. Keep reading while stuff is appearing on the reply queue.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosSerial.java