diff options
| author | hathach <[email protected]> | 2020-04-06 17:24:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-06 17:24:22 +0700 |
| commit | fb05451a26ebafd67de27271fd22b85d36fa3c62 (patch) | |
| tree | e68ea73ac0a9b4cc5f1dbbbc1436b8829ee8d1e6 /src/portable/microchip | |
| parent | dc4bf02dcb8198c9647e13bc0f5b4e5fcdeef618 (diff) | |
mass rename dcd_isr() to dcd_irq_handler()
Diffstat (limited to 'src/portable/microchip')
| -rw-r--r-- | src/portable/microchip/samd/dcd_samd.c | 2 | ||||
| -rw-r--r-- | src/portable/microchip/samg/dcd_samg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/microchip/samd/dcd_samd.c b/src/portable/microchip/samd/dcd_samd.c index 9f91e3f96..420526bfa 100644 --- a/src/portable/microchip/samd/dcd_samd.c +++ b/src/portable/microchip/samd/dcd_samd.c @@ -318,7 +318,7 @@ void maybe_transfer_complete(void) { } -void dcd_isr (uint8_t rhport) +void dcd_irq_handler (uint8_t rhport) { (void) rhport; diff --git a/src/portable/microchip/samg/dcd_samg.c b/src/portable/microchip/samg/dcd_samg.c index 882072521..93d9029d6 100644 --- a/src/portable/microchip/samg/dcd_samg.c +++ b/src/portable/microchip/samg/dcd_samg.c @@ -333,7 +333,7 @@ void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr) //--------------------------------------------------------------------+ // ISR //--------------------------------------------------------------------+ -void dcd_isr(uint8_t rhport) +void dcd_irq_handler(uint8_t rhport) { uint32_t const intr_mask = UDP->UDP_IMR; uint32_t const intr_status = UDP->UDP_ISR & intr_mask; |
