X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fusb_usb%2Fusb_usb.cpp;h=625a3b827993b3beb6431f264e1dee0c628eb1f8;hb=3e8289b53ce929484651fc065fb5f718e4e3ae21;hp=9277cece3cdef4b48d10a2dcea438a92e4e2cbc3;hpb=2ac00aa8a1cf0cfefb3fe5979c82ffc446b1ccb1;p=max%2Ftmk_keyboard.git diff --git a/converter/usb_usb/usb_usb.cpp b/converter/usb_usb/usb_usb.cpp index 9277cece..625a3b82 100644 --- a/converter/usb_usb/usb_usb.cpp +++ b/converter/usb_usb/usb_usb.cpp @@ -226,19 +226,12 @@ void led_set(uint8_t usb_led) if (kbd4.isReady()) kbd4.SetReport(0, 0, 2, 0, 1, &usb_led); } -// We need to keep doing UHS2 USB::Task() to initialize keyboard -// even before USB is not configured. -void hook_usb_startup_wait_loop(void) -{ - matrix_scan(); -} - // 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 LUFA_DEBUG_UART +#ifndef TMK_LUFA_DEBUG_UART // This corrupts debug print when suspend suspend_power_down(); #endif