Includre rtos.h in mbed.h if present

So that apps don't need to include "rtos.h" explicitly anymore.
pull/2227/head
Bogdan Marinescu 2016-07-22 18:08:32 +03:00
parent c8a5aae7ab
commit b8ab75db03
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@
#define MBED_LIBRARY_VERSION 122 #define MBED_LIBRARY_VERSION 122
#if MBED_CONF_RTOS_PRESENT
#include "rtos/rtos.h"
#endif
#include "toolchain.h" #include "toolchain.h"
#include "platform.h" #include "platform.h"