library for BLE_GAP_backpack

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Revision:
578:78f69f1be114
Parent:
575:7023a8204a1b
Child:
621:1d79da5c393e
--- 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"