浏览代码

fix comment

Meco Man 4 年之前
父节点
当前提交
ffd270acef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/drivers/rtc/rtc.c

+ 1 - 1
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");