Skip to content

Commit b993eb9

Browse files
committed
mutex doc changes
1 parent 24054ec commit b993eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rtos/Mutex.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Mutex : private mbed::NonCopyable<Mutex> {
8282
Wait until a Mutex becomes available.
8383
8484
@return status code that indicates the execution status of the function:
85-
@a Status code such as osOK indicates that the mutex has been obtained.
85+
@a osOK the mutex has been obtained.
8686
8787
@note You cannot call this function from ISR context.
8888
@note This function treats RTOS errors as fatal system errors, so can only return osOK.
@@ -144,7 +144,7 @@ class Mutex : private mbed::NonCopyable<Mutex> {
144144
Unlock the mutex that has previously been locked by the same thread
145145
146146
@return status code that indicates the execution status of the function:
147-
@a Status code such as osOK indicates that the mutex has been released.
147+
@a osOK the mutex has been released.
148148
149149
@note You cannot call this function from ISR context.
150150
@note This function treats RTOS errors as fatal system errors, so can only return osOK.

0 commit comments

Comments
 (0)