next_usb: Stop debug print while no keyboard
This commit is contained in:
parent
e3994a620b
commit
5a2a781fc9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue