From 3eae475f8b98152b466f8f3763a74f0ef2330d9d Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 11 May 2017 00:16:21 +0900 Subject: [PATCH] usb_usb: Remove startup wait Some keyboards boot up quickly and cannot be enumerated when powering up converter and keyboard at same time --- converter/usb_usb/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/converter/usb_usb/main.cpp b/converter/usb_usb/main.cpp index 5b542a75..2d9f5602 100644 --- a/converter/usb_usb/main.cpp +++ b/converter/usb_usb/main.cpp @@ -75,11 +75,13 @@ int main(void) */ sei(); +/* Some keyboards bootup quickly and cannot be initialized with this startup wait. // wait for startup of sendchar routine while (USB_DeviceState != DEVICE_STATE_Configured) ; if (debug_enable) { _delay_ms(1000); } +*/ debug("init: done\n"); -- 2.39.3