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/rtc_api.c	Thu Jul 24 12:00:06 2014 +0100
+++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/rtc_api.c	Tue Jul 29 18:45:06 2014 +0100
@@ -14,6 +14,9 @@
  * limitations under the License.
  */
 #include "rtc_api.h"
+
+#if DEVICE_RTC
+
 #include "pinmap.h"
 #include "fsl_rtc_hal.h"
 #include "fsl_clock_manager.h"
@@ -63,3 +66,5 @@
     BW_RTC_TSR_TSR(t);
     rtc_hal_counter_enable(true);
 }
+
+#endif