mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
修改 ringbuffer 和 workqueue 注释的语法
This commit is contained in:
@@ -82,7 +82,7 @@ void rt_ringbuffer_destroy(struct rt_ringbuffer *rb);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Get buffer size of the ring buffer object.
|
||||
* @brief Get the buffer size of the ring buffer object.
|
||||
*
|
||||
* @param rb A pointer to the ring buffer object.
|
||||
*
|
||||
|
||||
@@ -72,8 +72,8 @@ rt_err_t rt_work_cancel(struct rt_work *work);
|
||||
* @brief Initialize a work item, binding with a callback function.
|
||||
*
|
||||
* @param work A pointer to the work item object.
|
||||
* @param work_func A callback function will be called when this work item is executed.
|
||||
* @param work_data A user data passed to the callback function as it's second parameter.
|
||||
* @param work_func A callback function that will be called when this work item is executed.
|
||||
* @param work_data A user data passed to the callback function as the second parameter.
|
||||
*/
|
||||
rt_inline void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_work *work, void *work_data),
|
||||
void *work_data)
|
||||
|
||||
Reference in New Issue
Block a user