提交 6fa385b9 编写于 作者: mysterywolf's avatar mysterywolf

[time] 补充注释

上级 f4015029
......@@ -124,11 +124,11 @@ static rt_err_t get_timeval(struct timeval *tv)
}
/**
* Set time to RTC device (without timezone)
* Set time to RTC device (without timezone, UTC+0)
* @param tv: struct timeval
* @return the operation status, RT_EOK on successful
*/
static int set_timeval(struct timeval *tv)
static rt_err_t set_timeval(struct timeval *tv)
{
#ifdef RT_USING_RTC
static rt_device_t device = RT_NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册