Skip to content

Commit 8a2a640

Browse files
author
Amanda Butler
authored
Merge pull request #1231 from RonEld/fix_configuration_option
Fix config option check example
2 parents 85d5721 + afd1aca commit 8a2a640

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)