diff options
| author | hathach <[email protected]> | 2025-10-14 20:51:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-14 23:02:32 +0700 |
| commit | 367044e4873fc9ca9cdac918cee684e1e08216e0 (patch) | |
| tree | 4ae740db975c5df02ad488f144026150b889796f /src/portable/wch | |
| parent | 4bdd08ed2dacaf22ce2a442f8e13c97b03dfc2cb (diff) | |
fix lots of warnings for missing-prototypes for irqhandler
Diffstat (limited to 'src/portable/wch')
| -rw-r--r-- | src/portable/wch/hcd_ch32_usbfs.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/portable/wch/hcd_ch32_usbfs.c b/src/portable/wch/hcd_ch32_usbfs.c index 200136906..7bbf122dd 100644 --- a/src/portable/wch/hcd_ch32_usbfs.c +++ b/src/portable/wch/hcd_ch32_usbfs.c @@ -36,7 +36,17 @@ #include "bsp/board_api.h" +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-prototypes" +#endif + #include "ch32v20x.h" + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif + #include "ch32v20x_usb.h" #define USBFS_RX_BUF_LEN 64 |
