mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-27 02:40:00 +08:00
[time] 补充注释
This commit is contained in:
1 parent
f4015029d2
commit
6fa385b987
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user