adaptation for bkap

Fork of X_NUCLEO_IDB0XA1 by ST

Branch:
117ed4c55629877d7cb3d79c4bcb24e7da5bcab0
Revision:
278:a5209d8cfd61
Parent:
269:cd037b36a62b
Child:
293:5a1f577bf92f
diff -r 8da7a954664d -r a5209d8cfd61 source/BlueNRGGattServer.cpp
--- a/source/BlueNRGGattServer.cpp	Thu Sep 15 10:51:41 2016 +0100
+++ b/source/BlueNRGGattServer.cpp	Thu Sep 15 10:51:43 2016 +0100
@@ -37,7 +37,11 @@
  */
 
 #include "BlueNRGGattServer.h"
-#include "mbed-drivers/mbed.h"
+#ifdef YOTTA_CFG_MBED_OS
+    #include "mbed-drivers/mbed.h"
+#else
+    #include "mbed.h"
+#endif 
 #include "BlueNRGGap.h"
 #include "Utils.h"
 #include "debug.h"