Skip to content

Commit afd1aca

Browse files
author
Ron Eldor
committed
Fix config option check example
Fix the configuration check of `MBED_CONF_RTOS_PRESENT` to `MBED_CONF_RTOS_API_PRESENT` to align to the code.
1 parent 85d5721 commit afd1aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migrating/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)