[doc][doxygen]: Fix doxygen warning in comment

kservice.c:474: warning: The following parameter of rt_backtrace_to_buffer(rt_thread_t thread, struct rt_hw_backtrace_frame *frame, long skip, rt_ubase_t *buffer, long buflen) is not documented:
  parameter 'thread'
kernel.h:157: warning: unable to resolve reference to '_rt_errno' for \ref command

Signed-off-by: supperthomas <78900636@qq.com>
This commit is contained in:
supperthomas 2024-06-25 10:20:06 +08:00 committed by Meco Man
parent 7ae476dcf2
commit 038ff8b2e5
3 changed files with 2 additions and 3 deletions

View File

@ -7,14 +7,12 @@ on:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- documentation/**
- '**/README.md' - '**/README.md'
- '**/README_zh.md' - '**/README_zh.md'
pull_request: pull_request:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- documentation/**
- bsp/** - bsp/**
- examples/** - examples/**
- .github/** - .github/**

View File

@ -154,7 +154,7 @@
* @brief error code * @brief error code
* *
* The error code is defined to identify which kind of error occurs. When some * The error code is defined to identify which kind of error occurs. When some
* bad things happen, the current thread's errno will be set. see @ref _rt_errno * bad things happen, the current thread's errno will be set.
*/ */
/**@}*/ /**@}*/

View File

@ -461,6 +461,7 @@ rt_weak rt_err_t rt_backtrace_formatted_print(rt_ubase_t *buffer, long buflen)
/** /**
* @brief Print backtrace from frame to the given buffer * @brief Print backtrace from frame to the given buffer
* *
* @param thread the thread which frame belongs to
* @param frame where backtrace starts from. NULL if it's the current one * @param frame where backtrace starts from. NULL if it's the current one
* @param skip the number of frames to discarded counted from calling function. * @param skip the number of frames to discarded counted from calling function.
* Noted that the inner most frame is always discarded and not counted, * Noted that the inner most frame is always discarded and not counted,