My fork of X_NUCLEO_IDB0XA1

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
306:3a7d9f923493
Parent:
278:a5209d8cfd61
--- a/x-nucleo-idb0xa1/BlueNRGGattClient.h	Mon Jun 27 15:51:20 2016 +0200
+++ b/x-nucleo-idb0xa1/BlueNRGGattClient.h	Thu Sep 15 16:59:44 2016 +0100
@@ -34,7 +34,11 @@
 #ifndef __BLUENRG_GATT_CLIENT_H__
 #define __BLUENRG_GATT_CLIENT_H__
 
-#include "mbed.h"
+#ifdef YOTTA_CFG_MBED_OS
+    #include "mbed-drivers/mbed.h"
+#else
+    #include "mbed.h"
+#endif 
 #include "ble/blecommon.h"
 #include "btle.h"
 #include "ble/GattClient.h"
@@ -178,5 +182,4 @@
   
 };
 
-#endif /* __BLUENRG_GATT_CLIENT_H__ */
-
+#endif /* __BLUENRG_GATT_CLIENT_H__ */
\ No newline at end of file