My fork of X_NUCLEO_IDB0XA1
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGDevice.h
- Revision:
- 306:3a7d9f923493
- Parent:
- 278:a5209d8cfd61
--- a/x-nucleo-idb0xa1/BlueNRGDevice.h Mon Jun 27 15:51:20 2016 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGDevice.h Thu Sep 15 16:59:44 2016 +0100 @@ -40,7 +40,11 @@ #include "btle.h" -#include "mbed.h" +#ifdef YOTTA_CFG_MBED_OS + #include "mbed-drivers/mbed.h" +#else + #include "mbed.h" +#endif #include "ble/blecommon.h" #include "ble/BLEInstanceBase.h" #include "ble/BLE.h" @@ -88,6 +92,8 @@ int32_t spiWrite(uint8_t* data1, uint8_t* data2, uint8_t Nb_bytes1, uint8_t Nb_bytes2); void disable_irq(); void enable_irq(); + + virtual void processEvents(); private: bool isInitialized; @@ -102,4 +108,4 @@ SecurityManager *sm; }; -#endif +#endif \ No newline at end of file