diff options
| author | Ha Thach <[email protected]> | 2021-10-19 13:27:53 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-19 13:27:53 +0700 |
| commit | 4bfab30c02279a0530e1a56f4a7c539f2d35a293 (patch) | |
| tree | 7af7c8ad0d57c693c44df71ebdab50e9b12a9e07 /src/device/dcd.h | |
| parent | e927359d9c4ed90639dd2b8f7026a73574f8ca4b (diff) | |
| parent | 3485c82246ce17be1ca9649bb36dfc8b1782e593 (diff) | |
Merge pull request #1139 from hathach/release-0.12.00.12.0
update changelog and increase version for 0.12.0
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index d43a0dd9a..c042cc708 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -106,7 +106,14 @@ typedef struct TU_ATTR_ALIGNED(4) void dcd_init (uint8_t rhport); // Interrupt Handler +#if __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wredundant-decls" +#endif void dcd_int_handler(uint8_t rhport); +#if __GNUC__ +#pragma GCC diagnostic pop +#endif // Enable device interrupt void dcd_int_enable (uint8_t rhport); |
