summaryrefslogtreecommitdiff
path: root/src/idle.c
diff options
context:
space:
mode:
authorhiro_655 <[email protected]>2023-04-14 07:25:59 +0800
committerGitHub <[email protected]>2023-04-13 19:25:59 -0400
commitced40f33c5546898bcffd8b3ef7d0365b5d285df (patch)
tree4a44a0ac7577db771f4eed825f9c856038c3f37e /src/idle.c
parentf86715cee557eeeb8e0536a068f86d12257483c5 (diff)
[HUST CSE][doxygen][src]Fix the comment in rt_thread_defunct_enqueue (#7228)
根据这个issues #6857 在idle.c文件中找到一个函数缺失参数
Diffstat (limited to 'src/idle.c')
-rw-r--r--src/idle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/idle.c b/src/idle.c
index 4903ed3fe5..500b16c779 100644
--- a/src/idle.c
+++ b/src/idle.c
@@ -140,6 +140,8 @@ rt_err_t rt_thread_idle_delhook(void (*hook)(void))
/**
* @brief Enqueue a thread to defunct queue.
*
+ * @param thread the thread to be enqueued.
+ *
* @note It must be called between rt_hw_interrupt_disable and rt_hw_interrupt_enable
*/
void rt_thread_defunct_enqueue(rt_thread_t thread)