mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: mbed-connector-interface/MinarResourceObserver.h
- Revision:
- 31:2507e64fcc42
- Parent:
- 27:b8aaf7dc7023
- Child:
- 33:1d0b855df5a5
--- a/mbed-connector-interface/MinarResourceObserver.h Tue Jun 14 18:40:15 2016 +0000 +++ b/mbed-connector-interface/MinarResourceObserver.h Tue Jun 14 19:03:20 2016 +0000 @@ -25,12 +25,18 @@ #if defined(MCI_MINAR_SCHEDULER) -// mbed support -#include "mbed-drivers/mbed.h" - // switch for proper resource observer selection (from mbedEndpointNetwork) #include "mbed-connector-interface/configuration.h" +// mbed support +#if defined(MCI_USE_YOTTA) + // mbed support + #include "mbed-drivers/mbed.h" +#else + // mbed support + #include "mbed.h" +#endif + // mbedConnectorInterface configuration #include "mbed-connector-interface/mbedConnectorInterface.h"