Skip to content

Commit cced92b

Browse files
committed
chore(c0): define USB_IRQn
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 476a435 commit cced92b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/USBDevice/inc/usbd_conf.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ extern "C" {
7474
#elif defined(STM32G0xx)
7575
#define USB_IRQn USB_UCPD1_2_IRQn
7676
#define USB_IRQHandler USB_UCPD1_2_IRQHandler
77-
#elif defined(STM32H5xx) || defined(STM32U0xx)
77+
#elif defined(STM32C0xx) || defined(STM32H5xx) || defined(STM32U0xx)
7878
#define USB_IRQn USB_DRD_FS_IRQn
7979
#define USB_IRQHandler USB_DRD_FS_IRQHandler
8080
#elif defined(STM32U5xx) && !defined(USB_DRD_FS)

0 commit comments

Comments
 (0)