My fork of X_NUCLEO_IDB0XA1
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/utils/Payload.h
- Branch:
- 117ed4c55629877d7cb3d79c4bcb24e7da5bcab0
- Revision:
- 278:a5209d8cfd61
- Parent:
- 253:9665a6f8bbdb
--- a/x-nucleo-idb0xa1/utils/Payload.h Thu Sep 15 10:51:41 2016 +0100 +++ b/x-nucleo-idb0xa1/utils/Payload.h Thu Sep 15 10:51:43 2016 +0100 @@ -14,7 +14,11 @@ * limitations under the License. */ -#include "mbed-drivers/mbed.h" +#ifdef YOTTA_CFG_MBED_OS + #include "mbed-drivers/mbed.h" +#else + #include "mbed.h" +#endif #include "debug.h" #ifndef __PAYLOAD_H__ @@ -188,4 +192,4 @@ } }; -#endif // __PAYLOAD_H__ +#endif // __PAYLOAD_H__ \ No newline at end of file