sdf
Fork of mbed-rtos by
Diff: rtos/rtos.h
- Revision:
- 118:6635230e06ba
- Parent:
- 8:88a1a9c26ae3
- Child:
- 120:4dc938e301cc
diff -r 4c105b8d7cae -r 6635230e06ba rtos/rtos.h --- a/rtos/rtos.h Mon May 23 11:00:15 2016 +0100 +++ b/rtos/rtos.h Mon Jul 25 14:12:24 2016 +0100 @@ -32,4 +32,13 @@ using namespace rtos; +/* Get mbed lib version number, as RTOS depends on mbed lib features + like mbed_error, Callback and others. +*/ +#include "mbed.h" + +#if (MBED_LIBRARY_VERSION < 122) +#error "This version of RTOS requires mbed library version > 121" #endif + +#endif