Nordic stack and drivers for the mbed BLE API. Version to work around build bug.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: source/nRF5xGattServer.cpp
- Revision:
- 578:78f69f1be114
- Parent:
- 575:7023a8204a1b
diff -r d38f01a3e701 -r 78f69f1be114 source/nRF5xGattServer.cpp --- 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"