projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altosui: flush replies from serial link when entering debug mode
[fw/altos]
/
ao-tools
/
altosui
/
AltosDebug.java
diff --git
a/ao-tools/altosui/AltosDebug.java
b/ao-tools/altosui/AltosDebug.java
index df40410aae4ddd21dd16006b57bcff8278c36283..06c9a0bdb9808eadac132843ce3eab38c420b5ab 100644
(file)
--- a/
ao-tools/altosui/AltosDebug.java
+++ b/
ao-tools/altosui/AltosDebug.java
@@
-98,6
+98,7
@@
public class AltosDebug extends AltosSerial {
void ensure_debug_mode() {
if (!debug_mode) {
printf("m 0\nD\n");
+ flush_reply();
debug_mode = true;
}
}