From 16df2a2f621d84107ed27d3df39e618c522cd027 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 14 Mar 2014 15:35:54 +0700 Subject: Suppress Keil warnings #66-D: enumeration value is out of "int" range --- tinyusb/hal/hal_lpc175x_6x.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tinyusb/hal') 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 //--------------------------------------------------------------------+ -- cgit v1.3.1