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/serial_api.c	Thu Jul 24 12:00:06 2014 +0100
+++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/serial_api.c	Tue Jul 29 18:45:06 2014 +0100
@@ -15,6 +15,8 @@
  */
 #include "serial_api.h"
 
+#if DEVICE_SERIAL
+
 // math.h required for floating point operations for baud rate calculation
 #include <math.h>
 #include "mbed_assert.h"
@@ -213,3 +215,4 @@
     uart_hal_queue_break_char_to_send(obj->index, false);
 }
 
+#endif