From 3dd4f71bb6bd546757f591e1ed61e8b96ae95352 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 29 Sep 2025 16:43:04 +0800 Subject: doxygen: cleanup code for group_thread_management The cleanup involved three parts: - Merging the standalone "/**@{*/" into "@addtogroup group_thread_management" - Changing "/**@}*/" to "/** @} group_thread_management */", adding the group name makes it easier to find the matching "@{" part. - Deleting the "@addtogroup" directive in "include/rtthread.h" because this header file doesn't have doxygen comments. All doxygen comments for function bodies are defined in other .c files. Note, we remian two doxygen comments for rt_thread_inited_hookproto_t and rt_thread_idle_sethook in the "include/rtthread.h". rt_thread_inited_hookproto_t is really defined here. For rt_thread_idle_sethook, please see FIXME comment for reason. Signed-off-by: Chen Wang --- src/thread.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/thread.c') diff --git a/src/thread.c b/src/thread.c index fcbf737091..481dfebeef 100644 --- a/src/thread.c +++ b/src/thread.c @@ -294,10 +294,9 @@ static rt_err_t _thread_init(struct rt_thread *thread, /** * @addtogroup group_thread_management + * @{ */ -/**@{*/ - /** * @brief This function will initialize a thread. It's used to initialize a * static thread object. @@ -1209,4 +1208,4 @@ rt_err_t rt_thread_get_name(rt_thread_t thread, char *name, rt_uint8_t name_size } RTM_EXPORT(rt_thread_get_name); -/**@}*/ +/** @} group_thread_management */ -- cgit v1.3.1