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:
912:f728aa46e7df
Parent:
907:f9a79127973a
Child:
999:6ee4c335819b
diff -r 885ee648c6ab -r f728aa46e7df ble/services/UARTService.h
--- a/ble/services/UARTService.h	Thu Nov 26 12:52:03 2015 +0000
+++ b/ble/services/UARTService.h	Thu Nov 26 12:52:03 2015 +0000
@@ -17,8 +17,13 @@
 #ifndef __BLE_UART_SERVICE_H__
 #define __BLE_UART_SERVICE_H__
 
+#ifdef YOTTA_CFG_MBED_OS
+#include "mbed-drivers/mbed.h"
+#include "mbed-drivers/Stream.h"
+#else
 #include "mbed.h"
 #include "Stream.h"
+#endif
 
 #include "ble/UUID.h"
 #include "ble/BLE.h"