test

Dependents:   BLE_HeartRate_IDB0XA1_EPUDEE_Avril2018

Fork of X_NUCLEO_IDB0XA1 by ST

Files at this revision

API Documentation at this revision

Comitter:
Vincent Coubard
Date:
Thu Sep 15 10:51:37 2016 +0100
Branch:
7b242e25ed2bc04230f0e62d1ae2c076bfc1c354
Parent:
273:00205952d841
Child:
277:8da7a954664d
Commit message:
Sync with 7b242e25ed2bc04230f0e62d1ae2c076bfc1c354

2016-07-20 08:53:15+01:00: Vincent Coubard
Update include path so it can work on all versions of mbed.

Changed in this revision

source/platform/clock.c Show annotated file Show diff for this revision Revisions of this file
--- 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