X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Faltosui%2FAltosDebug.java;h=06c9a0bdb9808eadac132843ce3eab38c420b5ab;hp=df40410aae4ddd21dd16006b57bcff8278c36283;hb=99400fdc0f19ef538fc362dde5c3ab5b7cdac409;hpb=ba086cc77273efe5397f60dcaccd1e3771441481 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; } }