summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
authortuduweb <[email protected]>2023-02-03 10:00:58 +0800
committerGitHub <[email protected]>2023-02-02 21:00:58 -0500
commit9fbf63441e1b8cea112987ee30fe8b670668e87b (patch)
treefee52a0d11ed00ce972fe347ea9647c75711ec4b /src/thread.c
parentfb8e9ea93a7e455a09439d33222bd1da74822633 (diff)
[doxygen] Fix some warnings in doxygen (#6899)
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c
index 6c642bb8a8..5614edea4d 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -967,7 +967,8 @@ static void rt_thread_set_suspend_state(struct rt_thread *thread, int suspend_fl
* thread is executing when you suspend it. If you suspend a thread while sharing a resouce with
* other threads and occupying this resouce, starvation can occur very easily.
*
- * @param thread is the thread to be suspended.
+ * @param thread the thread to be suspended.
+ * @param suspend_flag status flag of the thread to be suspended.
*
* @return Return the operation status. If the return value is RT_EOK, the function is successfully executed.
* If the return value is any other values, it means this operation failed.