From ea27f717013118134fc04fde279ee49b9e05d8ec Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 16 Dec 2023 13:24:03 +0900 Subject: [PATCH] usb_usb: Remomve matrix_scan in suspend loop - This should not be needed anymore - Confirmed that there is no problem on FC660C startup --- converter/usb_usb/usb_usb.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/converter/usb_usb/usb_usb.cpp b/converter/usb_usb/usb_usb.cpp index af398e85..7dcf9636 100644 --- a/converter/usb_usb/usb_usb.cpp +++ b/converter/usb_usb/usb_usb.cpp @@ -226,9 +226,6 @@ void led_set(uint8_t 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) { #ifndef TMK_LUFA_DEBUG_UART @@ -239,8 +236,6 @@ void hook_usb_suspend_loop(void) if (usb_host.checkRemoteWakeup()) { USB_Device_SendRemoteWakeup(); } - } else { - matrix_scan(); } }