Skip to content

Commit b8ab75d

Browse files
author
Bogdan Marinescu
committed
Includre rtos.h in mbed.h if present
So that apps don't need to include "rtos.h" explicitly anymore.
1 parent c8a5aae commit b8ab75d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hal/api/mbed.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
#define MBED_LIBRARY_VERSION 122
2020

21+
#if MBED_CONF_RTOS_PRESENT
22+
#include "rtos/rtos.h"
23+
#endif
24+
2125
#include "toolchain.h"
2226
#include "platform.h"
2327

0 commit comments

Comments
 (0)