altosui: disable radio monitoring while using serial line for debugging
authorKeith Packard <keithp@keithp.com>
Tue, 24 Aug 2010 10:58:00 +0000 (03:58 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 24 Aug 2010 10:58:00 +0000 (03:58 -0700)
ao-tools/altosui/AltosDebug.java

index 83ea5bcbf9f0c9abc1068fbfb317187f1eaaa2d7..df40410aae4ddd21dd16006b57bcff8278c36283 100644 (file)
@@ -97,7 +97,7 @@ public class AltosDebug extends AltosSerial {
 
        void ensure_debug_mode() {
                if (!debug_mode) {
 
        void ensure_debug_mode() {
                if (!debug_mode) {
-                       printf("D\n");
+                       printf("m 0\nD\n");
                        debug_mode = true;
                }
        }
                        debug_mode = true;
                }
        }