From 73b5a1850695e2505d82d850beddbd49f9c7f882 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 Apr 2023 09:52:06 +0800 Subject: [PATCH 1/7] =?UTF-8?q?[finsh]=E6=9B=B4=E6=AD=A3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/finsh/msh_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finsh/msh_parse.c b/components/finsh/msh_parse.c index a0f5f5e96d9..e9deb3adb54 100644 --- a/components/finsh/msh_parse.c +++ b/components/finsh/msh_parse.c @@ -79,7 +79,7 @@ rt_bool_t msh_ishex(char *strvalue) * * @param strvalue string * - * @return true or false + * @return integer transformed from string */ int msh_strtohex(char *strvalue) { From 99438d19e99167484fbaef78c98790083bb7530e Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Apr 2023 17:57:04 +0800 Subject: [PATCH 2/7] Fix the comment in rt_thread_defunct_enqueue --- src/idle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/idle.c b/src/idle.c index 4903ed3fe5f..ffb1d7f2b2e 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) From 3b09ce006d6c4c542ec0674102de9f52ceff3248 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Apr 2023 18:00:47 +0800 Subject: [PATCH 3/7] [doxygen]Fix the comment in rt_thread_defunct_enqueue --- src/idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/idle.c b/src/idle.c index ffb1d7f2b2e..970f866544d 100644 --- a/src/idle.c +++ b/src/idle.c @@ -140,7 +140,7 @@ rt_err_t rt_thread_idle_delhook(void (*hook)(void)) /** * @brief Enqueue a thread to defunct queue. * - * @param thread the thread to be enqueued + * @param thread the thread to be enqueued. * * @note It must be called between rt_hw_interrupt_disable and rt_hw_interrupt_enable */ From b148b406ceab7830ac36bf4972cfab3000b9b717 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Apr 2023 18:02:12 +0800 Subject: [PATCH 4/7] [doxygen]Fix the comment in rt_thread_defunct_enqueue --- src/idle.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/idle.c b/src/idle.c index 970f866544d..b20eff3e8e9 100644 --- a/src/idle.c +++ b/src/idle.c @@ -139,8 +139,6 @@ 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 */ From 17f0b2a1d9b02824f855b1a584f49e6e312fa313 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Apr 2023 18:03:09 +0800 Subject: [PATCH 5/7] [doxygen]Fix the comment in rt_thread_defunct_enqueue --- src/idle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/idle.c b/src/idle.c index b20eff3e8e9..970f866544d 100644 --- a/src/idle.c +++ b/src/idle.c @@ -139,6 +139,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 */ From 7f4b0edced81fb2479cc3be925c3b0e2fc016ee6 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 13 Apr 2023 18:31:44 +0800 Subject: [PATCH 6/7] =?UTF-8?q?[doxygen]=E4=BF=AE=E6=94=B9=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=AD=E9=94=99=E8=AF=AF=E7=9A=84=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=90=8D=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/slab.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/slab.c b/src/slab.c index f48179afafc..e883a9de9b5 100644 --- a/src/slab.c +++ b/src/slab.c @@ -204,7 +204,7 @@ struct rt_slab /** * @brief Alloc memory size by page. * - * @param slab the slab memory management object. + * @param m the slab memory management object. * * @param npages the number of pages. */ @@ -243,7 +243,7 @@ void *rt_slab_page_alloc(rt_slab_t m, rt_size_t npages) /** * @brief Free memory by page. * - * @param slab the slab memory management object. + * @param m the slab memory management object. * * @param addr is the head address of first page. * @@ -308,8 +308,6 @@ static void rt_slab_page_init(struct rt_slab *slab, void *addr, rt_size_t npages /** * @brief This function will init slab memory management algorithm * - * @param slab the slab memory management object. - * * @param name is the name of the slab memory management object. * * @param begin_addr the beginning address of system page. From 6474ee0abb8eecf804553db4240a6a73957336a4 Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Thu, 13 Apr 2023 19:22:23 -0400 Subject: [PATCH 7/7] Update idle.c --- src/idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/idle.c b/src/idle.c index 970f866544d..500b16c7799 100644 --- a/src/idle.c +++ b/src/idle.c @@ -141,7 +141,7 @@ 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)