next_usb: Stop debug print while no keyboard

main
tmk 2016-03-29 11:15:09 +09:00
parent e3994a620b
commit 5a2a781fc9
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ uint8_t matrix_scan(void)
uint32_t resp = (next_kbd_recv());
if (resp == NEXT_KBD_KMBUS_IDLE)
if (!resp || resp == NEXT_KBD_KMBUS_IDLE)
{
return 0;
}