Skip to content

Commit f5c24a9

Browse files
sakumisuRbb666
authored andcommitted
fix(cherryusb): fix USBD_IRQHandler argument
Signed-off-by: sakumisu <[email protected]>
1 parent de30bd1 commit f5c24a9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

components/drivers/usb/cherryusb/port/nrf5x/usb_dc_nrf5x.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
#include "usb_dc.h"
66
#include "usbd_core.h"
77

8-
#ifndef USBD_IRQHandler
9-
#define USBD_IRQHandler USBD_IRQHandler /*!< Use actual usb irq name instead */
10-
#endif
11-
128
#ifndef USBD_CONFIG_ISO_IN_ZLP
139
#define USBD_CONFIG_ISO_IN_ZLP 0
1410
#endif
@@ -594,7 +590,7 @@ int usb_dc_deinit(uint8_t busid)
594590
* @param[in] None
595591
* @retval None
596592
*/
597-
void USBD_IRQHandler(void)
593+
void USBD_IRQHandler(uint8_t busid)
598594
{
599595
uint32_t const inten = NRF_USBD->INTEN;
600596
uint32_t int_status = 0;

0 commit comments

Comments
 (0)