summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-06-28 13:34:47 +0700
committerhathach <[email protected]>2022-06-28 13:34:47 +0700
commit83602ea1234e992dd90d6b3c9b1f0fd8b2bf5a78 (patch)
treee45dfa4187b262508636c64f882e23987b1c3c48 /src/device/dcd.h
parent4057c2d8d96a364329d14d3a4b2c237f388cfdc2 (diff)
parent3ead682af05bee3a275125f3e0384dd9b2882546 (diff)
Merge branch 'master' into rp2040_warning
Diffstat (limited to 'src/device/dcd.h')
-rw-r--r--src/device/dcd.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index 6b99734fe..c1780f656 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -110,14 +110,7 @@ typedef struct TU_ATTR_ALIGNED(4)
void dcd_init (uint8_t rhport);
// Interrupt Handler
-#if __GNUC__ && !defined(__ARMCC_VERSION)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wredundant-decls"
-#endif
void dcd_int_handler(uint8_t rhport);
-#if __GNUC__ && !defined(__ARMCC_VERSION)
-#pragma GCC diagnostic pop
-#endif
// Enable device interrupt
void dcd_int_enable (uint8_t rhport);