summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlhylhylhy6 <[email protected]>2022-09-06 12:29:05 +0800
committerGitHub <[email protected]>2022-09-06 00:29:05 -0400
commit45244037de217edfbe8afc21a50f4f0b563f7f9d (patch)
treebbbc4b8a5fbcc63f93d46ebee5bcdaf494db508b
parent36e03d0448bebece3258c515f1f4ef0886057dfc (diff)
[modify]修改waitqueue.c注释中的错误 (#6376)
-rw-r--r--components/drivers/ipc/waitqueue.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/drivers/ipc/waitqueue.c b/components/drivers/ipc/waitqueue.c
index 7bf40d3add..97b5075638 100644
--- a/components/drivers/ipc/waitqueue.c
+++ b/components/drivers/ipc/waitqueue.c
@@ -35,8 +35,6 @@ void rt_wqueue_add(rt_wqueue_t *queue, struct rt_wqueue_node *node)
/**
* @brief This function will remove a node from the wait queue.
*
- * @param queue is a pointer to the wait queue.
- *
* @param node is a pointer to the node to be removed.
*/
void rt_wqueue_remove(struct rt_wqueue_node *node)
@@ -52,7 +50,7 @@ void rt_wqueue_remove(struct rt_wqueue_node *node)
* @brief This function is the default wakeup function, but it doesn't do anything in actual.
* It always return 0, user should define their own wakeup function.
*
- * @param queue is a pointer to the wait queue.
+ * @param wait is a pointer to the wait queue.
*
* @param key is the wakeup condition.
*