summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-14 15:35:54 +0700
committerhathach <[email protected]>2014-03-14 15:51:07 +0700
commit16df2a2f621d84107ed27d3df39e618c522cd027 (patch)
treea0603a020ef3a11a5262419e5b0d09e53dd6f020 /tinyusb/hal
parentf28746f28ae02030641fba82c43f7827371831a6 (diff)
Suppress Keil warnings #66-D: enumeration value is out of "int" range
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal_lpc175x_6x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/hal/hal_lpc175x_6x.c b/tinyusb/hal/hal_lpc175x_6x.c
index c04b1660c..c611656a6 100644
--- a/tinyusb/hal/hal_lpc175x_6x.c
+++ b/tinyusb/hal/hal_lpc175x_6x.c
@@ -41,6 +41,10 @@
#if TUSB_CFG_MCU == MCU_LPC175X_6X
+#ifdef __CC_ARM
+#pragma diag_suppress 66 // Suppress Keil warnings #66-D: enumeration value is out of "int" range
+#endif
+
//--------------------------------------------------------------------+
// IMPLEMENTATION
//--------------------------------------------------------------------+