extend

Fork of BLE_API by Bluetooth Low Energy

Revision:
853:2e829bcda785
Parent:
852:f0de1349300c
Child:
854:ad4ae73c2b5a
--- a/ble/BLE.h	Mon Nov 02 09:09:06 2015 +0000
+++ b/ble/BLE.h	Mon Nov 02 09:09:06 2015 +0000
@@ -23,7 +23,11 @@
 #include "GattClient.h"
 #include "BLEInstanceBase.h"
 
+#ifdef YOTTA_CFG_MBED_OS
+#include "mbed-drivers/mbed_error.h"
+#else
 #include "mbed_error.h"
+#endif
 
 /**
  * The base class used to abstract away BLE capable radio transceivers or SOCs,