library for BLE_GAP_backpack

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Revision:
578:78f69f1be114
Parent:
575:7023a8204a1b
Child:
582:37fd3190598e
--- a/source/nRF5xn.cpp	Mon Jan 11 10:19:25 2016 +0000
+++ b/source/nRF5xn.cpp	Mon Jan 11 10:19:25 2016 +0000
@@ -14,7 +14,11 @@
  * limitations under the License.
  */
 
-#include "mbed.h"
+#ifdef YOTTA_CFG_MBED_OS
+    #include "mbed-drivers/mbed.h"
+#else
+    #include "mbed.h"
+#endif
 #include "nRF5xn.h"
 #include "ble/blecommon.h"
 #include "nrf_soc.h"