nordic

Fork of nRF51822 by Nordic Semiconductor

Revision:
579:78f69f1be114
Parent:
576:7023a8204a1b
--- a/source/nRF5xGattServer.cpp	Mon Jan 11 10:19:25 2016 +0000
+++ b/source/nRF5xGattServer.cpp	Mon Jan 11 10:19:25 2016 +0000
@@ -15,7 +15,11 @@
  */
 
 #include "nRF5xGattServer.h"
-#include "mbed.h"
+#ifdef YOTTA_CFG_MBED_OS
+    #include "mbed-drivers/mbed.h"
+#else
+    #include "mbed.h"
+#endif
 
 #include "common/common.h"
 #include "btle/custom/custom_helper.h"