diff options
| author | sakumisu <[email protected]> | 2025-03-07 16:54:49 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-03-10 13:45:33 +0800 |
| commit | f5c24a9bfc9cc67f33275bf6e8e39f85ba0e4c9c (patch) | |
| tree | 1f8fcaf83254c1c1f8feba983059e8eab8c21150 | |
| parent | de30bd110511f60a8801805707093214c565f11e (diff) | |
fix(cherryusb): fix USBD_IRQHandler argument
Signed-off-by: sakumisu <[email protected]>
| -rw-r--r-- | components/drivers/usb/cherryusb/port/nrf5x/usb_dc_nrf5x.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/components/drivers/usb/cherryusb/port/nrf5x/usb_dc_nrf5x.c b/components/drivers/usb/cherryusb/port/nrf5x/usb_dc_nrf5x.c index 6e42c690c6..5f955ff3c9 100644 --- a/components/drivers/usb/cherryusb/port/nrf5x/usb_dc_nrf5x.c +++ b/components/drivers/usb/cherryusb/port/nrf5x/usb_dc_nrf5x.c @@ -5,10 +5,6 @@ #include "usb_dc.h" #include "usbd_core.h" -#ifndef USBD_IRQHandler -#define USBD_IRQHandler USBD_IRQHandler /*!< Use actual usb irq name instead */ -#endif - #ifndef USBD_CONFIG_ISO_IN_ZLP #define USBD_CONFIG_ISO_IN_ZLP 0 #endif @@ -594,7 +590,7 @@ int usb_dc_deinit(uint8_t busid) * @param[in] None * @retval None */ -void USBD_IRQHandler(void) +void USBD_IRQHandler(uint8_t busid) { uint32_t const inten = NRF_USBD->INTEN; uint32_t int_status = 0; |
