diff options
| author | Ha Thach <[email protected]> | 2023-08-04 11:41:44 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-04 11:41:44 +0700 |
| commit | de4ad2c7754cd2b11a4a9afafbc82766eccea3b2 (patch) | |
| tree | 4dc90c2091ad13e7f548dbd7d40cdd015826bd42 /src | |
| parent | bbdc879995bb1db2b7cfc979d520ca4155d43dae (diff) | |
| parent | 9697c4df4e57435781119c0d4716635f344ed8f1 (diff) | |
Merge pull request #2204 from hathach/enhance-bsp
Enhance bsp
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/chipidea/ci_hs/ci_hs_lpc18_43.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/portable/chipidea/ci_hs/ci_hs_lpc18_43.h b/src/portable/chipidea/ci_hs/ci_hs_lpc18_43.h index 2e84c93e7..178eec419 100644 --- a/src/portable/chipidea/ci_hs/ci_hs_lpc18_43.h +++ b/src/portable/chipidea/ci_hs/ci_hs_lpc18_43.h @@ -27,9 +27,18 @@ #ifndef _CI_HS_LPC18_43_H_ #define _CI_HS_LPC18_43_H_ +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" +#endif + // LPCOpen for 18xx & 43xx #include "chip.h" +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif + static const ci_hs_controller_t _ci_controller[] = { { .reg_base = LPC_USB0_BASE, .irqnum = USB0_IRQn }, |
