Skip to content

Commit 2b045a8

Browse files
author
Amanda Butler
authored
Update rtos.md
Try to fix problem.
1 parent 184cb95 commit 2b045a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/api/rtos/rtos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Mbed RTOS API has made the choice of defaulting to `0` timeout (no wait) for
3030

3131
A typical scenario for a producer could be a peripheral triggering an interrupt to notify an event; in the corresponding interrupt service routine you cannot wait (this would deadlock the entire system). On the other side, the consumer could be a background thread waiting for events; in this case the desired default behaviour is not using CPU cycles until this event is produced, hence the `osWaitForever`.
3232

33-
<span class="warnings">**Warning**: No wait in ISR </br> When calling an RTOS object method in an ISR, all the timeout parameters must be set to 0 (no wait); waiting in ISR is not allowed. </span>
33+
<span class="warnings">**Warning**: No wait in ISR <br> When calling an RTOS object method in an ISR, all the timeout parameters must be set to 0 (no wait); waiting in ISR is not allowed. </span>
3434

3535
##### The main() function
3636

0 commit comments

Comments
 (0)