diff options
| author | Ha Thach <[email protected]> | 2021-10-23 21:23:56 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-23 21:23:56 +0700 |
| commit | 311c05b401591507cbc4977926bcc878d3f119aa (patch) | |
| tree | 4119b44658bc6d66947ba0e4605fea16ea4ea678 /src/device | |
| parent | 6fcf4bee8c1540618b5d8d8709ef76cd2aa1c66f (diff) | |
| parent | b541c0f5e07696ead205666e43c726b14277e0d9 (diff) | |
Merge branch 'master' into fix-warnings
Diffstat (limited to 'src/device')
| -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); |
