]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/common/command.c
Merge pull request #294 from shayneholmes/fix-debug-message
[max/tmk_keyboard.git] / tmk_core / common / command.c
index 1b6808be0ef15513f7f01df55117ddb1b7eedaf2..d59bb01bbcbd9151430fdf79444a84636a5cd9c9 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;
@@ -315,6 +315,9 @@ static bool command_common(uint8_t code)
             print_val_hex8(host_keyboard_leds());
             print_val_hex8(keyboard_protocol);
             print_val_hex8(keyboard_idle);
+#ifdef NKRO_ENABLE
+            print_val_hex8(keyboard_nkro);
+#endif
             print_val_hex32(timer_count);
 
 #ifdef PROTOCOL_PJRC