mbed library sources modified for open wear

Dependents:   openwear-lifelogger-example

Fork of mbed-src by mbed official

Revision:
267:8673334f2cbe
Parent:
265:9632ea190e16
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c	Thu Jul 24 12:00:06 2014 +0100
+++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c	Tue Jul 29 18:45:06 2014 +0100
@@ -16,6 +16,8 @@
 #include "mbed_assert.h"
 #include "i2c_api.h"
 
+#if DEVICE_I2C
+
 #include "cmsis.h"
 #include "pinmap.h"
 #include "fsl_clock_manager.h"
@@ -307,3 +309,4 @@
 }
 #endif
 
+#endif