From: tmk Date: Wed, 10 May 2017 15:16:21 +0000 (+0900) Subject: usb_usb: Remove startup wait X-Git-Url: https://git.gir.st/tmk_keyboard.git/commitdiff_plain/3eae475f8b98152b466f8f3763a74f0ef2330d9d usb_usb: Remove startup wait Some keyboards boot up quickly and cannot be enumerated when powering up converter and keyboard at same time --- 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");