Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into xap
Browse files Browse the repository at this point in the history
  • Loading branch information
qmk-bot committed Dec 15, 2024
2 parents c779e24 + 8e6bfbf commit d5451bd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tmk_core/protocol/chibios/usb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,18 +329,10 @@ static bool usb_requests_hook_cb(USBDriver *usbp) {
return false;
}

static __attribute__((unused)) void dummy_cb(USBDriver *usbp) {
(void)usbp;
}

static const USBConfig usbcfg = {
usb_event_cb, /* USB events callback */
usb_get_descriptor_cb, /* Device GET_DESCRIPTOR request callback */
usb_requests_hook_cb, /* Requests hook callback */
#if STM32_USB_USE_OTG1 == TRUE || STM32_USB_USE_OTG2 == TRUE
dummy_cb, /* Workaround for OTG Peripherals not servicing new interrupts
after resuming from suspend. */
#endif
};

void init_usb_driver(USBDriver *usbp) {
Expand Down

0 comments on commit d5451bd

Please sign in to comment.