diff options
| author | hathach <[email protected]> | 2020-04-06 17:35:11 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-06 17:35:11 +0700 |
| commit | 4179334aca5b4085912f895ac2e5e8586efefd67 (patch) | |
| tree | 2658e8be598ca9002322cbd153222ab79c915ed6 /src/portable | |
| parent | a61d34e09ce2675e3c25042d5c91a47df84b7c73 (diff) | |
call tud_irq_handler() for all nrf5x board
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/nordic/nrf5x/dcd_nrf5x.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/portable/nordic/nrf5x/dcd_nrf5x.c b/src/portable/nordic/nrf5x/dcd_nrf5x.c index 2ce288d6c..e54f475ec 100644 --- a/src/portable/nordic/nrf5x/dcd_nrf5x.c +++ b/src/portable/nordic/nrf5x/dcd_nrf5x.c @@ -359,8 +359,10 @@ void bus_reset(void) _dcd.xfer[0][TUSB_DIR_OUT].mps = MAX_PACKET_SIZE; } -void USBD_IRQHandler(void) +void dcd_irq_handler(uint8_t rhport) { + (void) rhport; + uint32_t const inten = NRF_USBD->INTEN; uint32_t int_status = 0; |
