diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-08 18:53:27 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-08 18:53:27 -0700 |
commit | 13eacb49de4312509c3a729a31dcda4d601f8a8b (patch) | |
tree | 14cc3ec30aa08a1533c86b7dedcced05ca4384ac /altosui/AltosSerial.java | |
parent | 97cf285d041062ae473c2823438b81c8fffe7f67 (diff) |
altosui: Flush radio setting to serial device
When changing frequencies, make sure the device hears about it.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosSerial.java')
-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 c0eeb920..5d4510b4 100644 --- a/altosui/AltosSerial.java +++ b/altosui/AltosSerial.java @@ -348,6 +348,7 @@ public class AltosSerial implements Runnable { setting, telemetry_len()); else printf("c R %d\nc r 0\n", setting); + flush_output(); } } |