summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-08 18:53:27 -0700
committerKeith Packard <keithp@keithp.com>2011-08-08 18:53:27 -0700
commit13eacb49de4312509c3a729a31dcda4d601f8a8b (patch)
tree14cc3ec30aa08a1533c86b7dedcced05ca4384ac
parent97cf285d041062ae473c2823438b81c8fffe7f67 (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>
-rw-r--r--altosui/AltosSerial.java1
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();
}
}