add default usb irq name for USBD_IRQHandler

This commit is contained in:
sakumisu
2021-12-05 20:37:11 +08:00
parent 641be186ba
commit 574b79b9ea
2 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,9 @@
#include "usbd_core.h"
#include "usb_fsdev_regs.h"
#ifndef USBD_IRQHandler
#define USBD_IRQHandler USB_LP_CAN1_RX0_IRQHandler //use actual usb irq name instead
#endif
#ifndef USB_NUM_BIDIR_ENDPOINTS
#define USB_NUM_BIDIR_ENDPOINTS 8