usb_usb: Remomve matrix_scan in suspend loop
- This should not be needed anymore - Confirmed that there is no problem on FC660C startup
This commit is contained in:
parent
7403b9731b
commit
ea27f71701
1 changed files with 0 additions and 5 deletions
|
|
@ -226,9 +226,6 @@ void led_set(uint8_t usb_led)
|
||||||
if (kbd4.isReady()) kbd4.SetLed(&usb_led);
|
if (kbd4.isReady()) kbd4.SetLed(&usb_led);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We need to keep doing UHS2 USB::Task() to initialize keyboard
|
|
||||||
// even during USB bus is suspended and remote wakeup is not enabled yet on LUFA side.
|
|
||||||
// This situation can happen just after pluging converter into USB port.
|
|
||||||
void hook_usb_suspend_loop(void)
|
void hook_usb_suspend_loop(void)
|
||||||
{
|
{
|
||||||
#ifndef TMK_LUFA_DEBUG_UART
|
#ifndef TMK_LUFA_DEBUG_UART
|
||||||
|
|
@ -239,8 +236,6 @@ void hook_usb_suspend_loop(void)
|
||||||
if (usb_host.checkRemoteWakeup()) {
|
if (usb_host.checkRemoteWakeup()) {
|
||||||
USB_Device_SendRemoteWakeup();
|
USB_Device_SendRemoteWakeup();
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
matrix_scan();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue