summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-06 17:24:22 +0700
committerhathach <[email protected]>2020-04-06 17:24:22 +0700
commitfb05451a26ebafd67de27271fd22b85d36fa3c62 (patch)
treee68ea73ac0a9b4cc5f1dbbbc1436b8829ee8d1e6 /src/device
parentdc4bf02dcb8198c9647e13bc0f5b4e5fcdeef618 (diff)
mass rename dcd_isr() to dcd_irq_handler()
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd.h2
-rw-r--r--src/device/usbd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index 5e1181d1b..7e976e0ed 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -89,7 +89,7 @@ typedef struct TU_ATTR_ALIGNED(4)
void dcd_init (uint8_t rhport);
// Interrupt Handler
-void dcd_isr (uint8_t rhport) TU_ATTR_USED;
+void dcd_irq_handler (uint8_t rhport) TU_ATTR_USED;
// Enable device interrupt
void dcd_int_enable (uint8_t rhport);
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 683366f98..2bb9821ed 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -48,7 +48,7 @@ bool tud_init (void);
void tud_task (void);
// Interrupt handler, name alias to DCD
-#define tud_irq_handler dcd_isr
+#define tud_irq_handler dcd_irq_handler
// Check if device is connected and configured
bool tud_mounted(void);