core: Fix message print of debug command

example_keyboards
tmk 9 years ago
parent bf3d4b3c06
commit e8a4a63ec4

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

Loading…
Cancel
Save