X_NUCLEO_IDB05A1

Dependencies:   mbed-os-example-ble-Advertising

Branch:
7b242e25ed2bc04230f0e62d1ae2c076bfc1c354
Revision:
274:4826afdae563
Parent:
253:9665a6f8bbdb
diff -r 00205952d841 -r 4826afdae563 source/platform/clock.c
--- a/source/platform/clock.c	Thu Sep 15 10:51:36 2016 +0100
+++ b/source/platform/clock.c	Thu Sep 15 10:51:37 2016 +0100
@@ -1,7 +1,12 @@
 
 #include "clock.h"
-#include "mbed-drivers/wait_api.h"
-#include "mbed-drivers/rtc_time.h"
+#ifdef YOTTA_CFG_MBED_OS
+	#include "mbed-drivers/wait_api.h"
+	#include "mbed-drivers/rtc_time.h"
+#else
+    #include "wait_api.h"
+	#include "rtc_time.h"
+#endif
 
 const uint32_t CLOCK_SECOND = 1000;
 
@@ -28,7 +33,4 @@
 {
 	wait_ms(i);
 }
-/*---------------------------------------------------------------------------*/
-
-
-
+/*---------------------------------------------------------------------------*/
\ No newline at end of file