/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h substitute line 894 extern } by }

Fork of mbed by mbed official

Revision:
68:f37f3b9c9f0b
Parent:
66:9c8f0e3462fb
diff -r a9913a65894f -r f37f3b9c9f0b TARGET_LPC4088/LPC407x_8x_177x_8x.h
--- a/TARGET_LPC4088/LPC407x_8x_177x_8x.h	Thu Sep 19 15:44:18 2013 +0300
+++ b/TARGET_LPC4088/LPC407x_8x_177x_8x.h	Wed Oct 23 16:23:06 2013 +0300
@@ -34,7 +34,9 @@
 #ifndef __LPC407x_8x_177x_8x_H__
 #define __LPC407x_8x_177x_8x_H__
 
-#define CORE_M4
+#if defined(__CORTEX_M4) && !defined(CORE_M4)
+  #define CORE_M4
+#endif
 
 // ##################
 // Code Red - excluded extern "C" as unrequired