diff options
| author | Meco Man <[email protected]> | 2021-02-05 18:55:39 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-05 18:55:39 +0800 |
| commit | ffd270acef183dd5f35b7b85c077212f1b10ff11 (patch) | |
| tree | 191e240e02cb2cc24b7362ee4b0b9d3aa43dd272 /components/drivers/rtc/rtc.c | |
| parent | c2fca3dffedfa15044bb70f8a997ea1c3920ebe3 (diff) | |
fix comment
Diffstat (limited to 'components/drivers/rtc/rtc.c')
| -rw-r--r-- | components/drivers/rtc/rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/rtc/rtc.c b/components/drivers/rtc/rtc.c index c9ba7fb4eb..ef688ac3cd 100644 --- a/components/drivers/rtc/rtc.c +++ b/components/drivers/rtc/rtc.c @@ -64,7 +64,7 @@ rt_err_t set_date(rt_uint32_t year, rt_uint32_t month, rt_uint32_t day) tm_new.tm_mon = month - 1; /* tm_mon: 0~11 */ tm_new.tm_mday = day; - /* converts the UTC time into the calendar time. */ + /* converts the local time into the calendar time. */ now = mktime(&tm_new); device = rt_device_find("rtc"); |
