未验证 提交 45244037 编写于 作者: L lhylhylhy6 提交者: GitHub

[modify]修改waitqueue.c注释中的错误 (#6376)

上级 36e03d04
...@@ -35,8 +35,6 @@ void rt_wqueue_add(rt_wqueue_t *queue, struct rt_wqueue_node *node) ...@@ -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. * @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. * @param node is a pointer to the node to be removed.
*/ */
void rt_wqueue_remove(struct rt_wqueue_node *node) void rt_wqueue_remove(struct rt_wqueue_node *node)
...@@ -52,7 +50,7 @@ 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. * @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. * 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. * @param key is the wakeup condition.
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册