Skip to content

Commit 83f24fb

Browse files
authored
Merge pull request #2227 from mbedmicro/include_rtos_by_default
Includre rtos.h in mbed.h if present
2 parents 9ab05ae + b8ab75d commit 83f24fb

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)