diff --git a/documentation/doxygen/kernel.h b/documentation/doxygen/kernel.h index ad6471db3658..15f6983e0786 100644 --- a/documentation/doxygen/kernel.h +++ b/documentation/doxygen/kernel.h @@ -154,7 +154,7 @@ * @brief error code * * 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. */ /**@}*/ diff --git a/src/kservice.c b/src/kservice.c index 25d7f2e7e0a4..e61bae296adf 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -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 * + * @param thread the thread which frame belongs to * @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. * Noted that the inner most frame is always discarded and not counted,