diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index aa1aa03ec7..c57efc344a 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c @@ -203,6 +203,7 @@ static void usb_event_cb(USBDriver *usbp, usbevent_t event) { case USB_EVENT_RESET: usb_event_queue_enqueue(event); chSysLockFromISR(); + if (event == USB_EVENT_RESET) keyboard_protocol = 1; for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { usb_endpoint_in_suspend_cb(&usb_endpoints_in[i]); }