Skip to content

Commit 5d35821

Browse files
committed
That was odd
1 parent eb82ae9 commit 5d35821

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/api/platform/Wait.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44

55
Wait functions provide simple wait capabilities. The OS scheduler puts the current thread in `waiting state`, allowing another thread to execute. Even better: If there are no other threads in `ready state`, it can put the whole microcontroller to `sleep`, saving energy.
66

7-
# Avoiding OS delay
7+
## Avoiding OS delay
88

99
When you call wait, your board's CPU will sleep in the RTOS for the whole number of milliseconds and then spin as necessary to make up the remaining fraction of a millisecond. However, it blocks the platform deep sleep for the entire duration.
1010

11-
# Wait function reference
11+
## Wait function reference
1212

1313
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/development/mbed-os-api-doxy/mbed__wait__api_8h_source.html)
1414

15-
# Example
15+
## Example
1616

1717
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/wait_ex_1/)](https://os.mbed.com/teams/mbed_example/code/wait_ex_1/file/4f0543415053/main.cpp)
1818

19-
# Related content
19+
## Related content
2020

2121
- [RTOS](rtos.html) overview.
2222
- [Application flow control tutorial](../tutorials/application-flow-control.html).

0 commit comments

Comments
 (0)