summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-06-24 22:22:52 +0700
committerhathach <[email protected]>2022-06-24 22:52:11 +0700
commit0042eccb3b2ff0f980f3a927a271364a2089ada5 (patch)
treef1c970e2554ee084b17483921b6a8c9a5bbf0c7e /src/device/dcd.h
parent1d6918ce419b7df13def76759ba804c46ea8024c (diff)
fix redundant-decls warnings by usbd/usbh
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);