diff options
| author | hathach <[email protected]> | 2020-04-06 14:11:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-06 14:11:45 +0700 |
| commit | 2d6d298302be2d39374c36e7889341dee944d542 (patch) | |
| tree | 1e935941eca71d06b84ad781a45144b1c88b4464 /src/device | |
| parent | 4430ea61e20844726cdce33602e60f40a136a99e (diff) | |
move irqhandler to application
tud_isr() must be called by application to forward the irqhandle to the
stack
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/dcd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 143a2de34..5e1181d1b 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); +void dcd_isr (uint8_t rhport) TU_ATTR_USED; // Enable device interrupt void dcd_int_enable (uint8_t rhport); |
