core: Fix message print of debug command

master
tmk 2015-09-20 10:51:30 +09:00
parent bf3d4b3c06
commit e8a4a63ec4
1 changed files with 2 additions and 2 deletions

View File

@ -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;