next_usb: Stop debug print while no keyboard
This commit is contained in:
parent
e3994a620b
commit
5a2a781fc9
@ -187,7 +187,7 @@ uint8_t matrix_scan(void)
|
|||||||
|
|
||||||
uint32_t resp = (next_kbd_recv());
|
uint32_t resp = (next_kbd_recv());
|
||||||
|
|
||||||
if (resp == NEXT_KBD_KMBUS_IDLE)
|
if (!resp || resp == NEXT_KBD_KMBUS_IDLE)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user