jgh

Dependents:   Migration

Fork of BLE_API by Bluetooth Low Energy

Revision:
861:2afa79e3ed0a
Parent:
860:0d41e4eb3d0a
Child:
890:f3144091ae19
diff -r 0d41e4eb3d0a -r 2afa79e3ed0a ble/services/UARTService.h
--- a/ble/services/UARTService.h	Mon Nov 02 09:09:07 2015 +0000
+++ b/ble/services/UARTService.h	Mon Nov 02 09:09:07 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"