]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Fix message print of debug command
authortmk <hasu@tmk-kbd.com>
Sun, 20 Sep 2015 01:51:30 +0000 (10:51 +0900)
committertmk <hasu@tmk-kbd.com>
Sun, 20 Sep 2015 01:51:30 +0000 (10:51 +0900)
tmk_core/common/command.c

index 1b6808be0ef15513f7f01df55117ddb1b7eedaf2..a53cac61486253b48d8fe188fa6a476a076726e7 100644 (file)
@@ -228,13 +228,13 @@ static bool command_common(uint8_t code)
             break;
         case KC_D:
             if (debug_enable) {
-                print("\ndebug: on\n");
+                print("\ndebug: off\n");
                 debug_matrix   = false;
                 debug_keyboard = false;
                 debug_mouse    = false;
                 debug_enable   = false;
             } else {
-                print("\ndebug: off\n");
+                print("\ndebug: on\n");
                 debug_enable   = true;
             }
             break;