summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosDebug.java
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/altosui/AltosDebug.java')
-rw-r--r--ao-tools/altosui/AltosDebug.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosDebug.java b/ao-tools/altosui/AltosDebug.java
index df40410a..06c9a0bd 100644
--- 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;
}
}