1
0

next_usb: Stop debug print while no keyboard

This commit is contained in:
tmk 2016-03-29 11:15:09 +09:00
parent e3994a620b
commit 5a2a781fc9

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