Skip to content

Commit 7a6ea3a

Browse files
author
Amanda Butler
authored
Fix config option check in mbed-os-2-vs-5.md
Apply changes from PR #1231 to v5.15 to align with code.
1 parent 02de3fd commit 7a6ea3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/mbed-os-2-vs-5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To migrate from Mbed OS 2 to Mbed OS 5, [please follow our migration tutorial](.
1818
Yes. Inside the `mbed.h` file in your Mbed OS project, you can see `if` statements that look at `MBED_CONF` variables. The `mbed_lib.json` files located in their respective Mbed OS directory define these variables. For example, in `mbed.h` you can find the following lines:
1919

2020
```
21-
#if MBED_CONF_RTOS_PRESENT
21+
#if MBED_CONF_RTOS_API_PRESENT
2222
#include "rtos/rtos.h"
2323
#endif
2424
```

0 commit comments

Comments
 (0)