kernel.h: Fix k_msgq_get retval doxygen
Added a hint about -ENOMSG being returned when the queue is purged. Signed-off-by: Marcel Krüger <marcel.krueger@ithinx.io>
This commit is contained in:
parent
b6aed5c505
commit
38c9a74099
1 changed files with 1 additions and 1 deletions
|
|
@ -4684,7 +4684,7 @@ __syscall int k_msgq_put(struct k_msgq *msgq, const void *data, k_timeout_t time
|
|||
* K_FOREVER.
|
||||
*
|
||||
* @retval 0 Message received.
|
||||
* @retval -ENOMSG Returned without waiting.
|
||||
* @retval -ENOMSG Returned without waiting or queue purged.
|
||||
* @retval -EAGAIN Waiting period timed out.
|
||||
*/
|
||||
__syscall int k_msgq_get(struct k_msgq *msgq, void *data, k_timeout_t timeout);
|
||||
|
|
|
|||
Loading…
Reference in a new issue