library for BLE_GAP_backpack

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Revision:
578:78f69f1be114
Parent:
577:d38f01a3e701
Child:
581:1dd90ec7527b
--- a/source/nRF5xGap.cpp	Mon Jan 11 10:19:25 2016 +0000
+++ b/source/nRF5xGap.cpp	Mon Jan 11 10:19:25 2016 +0000
@@ -15,7 +15,11 @@
  */
 
 #include "nRF5xn.h"
-#include "mbed.h"
+#ifdef YOTTA_CFG_MBED_OS
+    #include "mbed-drivers/mbed.h"
+#else
+    #include "mbed.h"
+#endif
 #include "ble/BLE.h"
 
 #include "common/common.h"