diff options
| author | hathach <[email protected]> | 2020-04-17 12:27:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-17 12:27:53 +0700 |
| commit | 50be9d7c3ad08fdc8a79f38606111cf83c84efb9 (patch) | |
| tree | 97d6a53cdf69d213427aae77d9b3a3fbc0f6f976 /src/device | |
| parent | 4bbbba48cbcd1aa655e1f7367f39d5c22e89a8d9 (diff) | |
mass rename tud/dcd_irq_handler to tud/dcd_init_handler
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/dcd.h | 2 | ||||
| -rw-r--r-- | src/device/usbd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 6554be2c8..99a0e01ca 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_irq_handler(uint8_t rhport) TU_ATTR_USED; +void dcd_int_handler(uint8_t rhport); // Enable device interrupt void dcd_int_enable (uint8_t rhport); diff --git a/src/device/usbd.h b/src/device/usbd.h index 3b409e70b..fcb4e5c5f 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_irq_handler +#define tud_int_handler dcd_int_handler // Check if device is connected and configured bool tud_mounted(void); |
