summaryrefslogtreecommitdiff
path: root/components/drivers/ipc/dataqueue.c
diff options
context:
space:
mode:
authorZxy <[email protected]>2023-03-23 12:56:38 +0800
committerMan, Jianting (Meco) <[email protected]>2023-03-23 01:55:21 -0400
commit156fda61cf96697b10a1e99b9c2d150090e58230 (patch)
tree1b0992f9cdda9c4fba97b2db6cc205dbbcc11e5c /components/drivers/ipc/dataqueue.c
parent4ed9bc11f71fe231bc673a9b1deb2ff5354129bc (diff)
[errno code]fix that use RT_ENOMEM without -
Diffstat (limited to 'components/drivers/ipc/dataqueue.c')
-rw-r--r--components/drivers/ipc/dataqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/ipc/dataqueue.c b/components/drivers/ipc/dataqueue.c
index 03e685a6bf..2222539cdf 100644
--- a/components/drivers/ipc/dataqueue.c
+++ b/components/drivers/ipc/dataqueue.c
@@ -36,7 +36,7 @@ struct rt_data_item
* @param evt_notify is the notification callback function.
*
* @return Return the operation status. When the return value is RT_EOK, the initialization is successful.
- * When the return value is RT_ENOMEM, it means insufficient memory allocation failed.
+ * When the return value is -RT_ENOMEM, it means insufficient memory allocation failed.
*/
rt_err_t
rt_data_queue_init(struct rt_data_queue *queue,