Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

Revision:
851:802f445cc195
Parent:
850:32ff6e392630
Child:
852:f0de1349300c
diff -r 32ff6e392630 -r 802f445cc195 ble/services/URIBeaconConfigService.h
--- a/ble/services/URIBeaconConfigService.h	Mon Nov 02 09:09:05 2015 +0000
+++ b/ble/services/URIBeaconConfigService.h	Mon Nov 02 09:09:05 2015 +0000
@@ -18,7 +18,12 @@
 #define SERVICES_URIBEACONCONFIGSERVICE_H_
 
 #include "ble/BLE.h"
+
+#ifdef YOTTA_CFG_MBED_OS
+#include "mbed-drivers/mbed.h"
+#else
 #include "mbed.h"
+#endif
 
 extern const uint8_t UUID_URI_BEACON_SERVICE[UUID::LENGTH_OF_LONG_UUID];
 extern const uint8_t UUID_LOCK_STATE_CHAR[UUID::LENGTH_OF_LONG_UUID];