summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/rtc.c
diff options
context:
space:
mode:
authortyx <[email protected]>2022-04-05 16:45:22 +0800
committerguo <[email protected]>2022-04-06 10:26:04 +0800
commite896021b56c01f5abad4ebad5017cb0dc40739b0 (patch)
tree0b81cbc209e08d054a9a944786122aa65e40296b /components/drivers/rtc/rtc.c
parentc4f107f5288618e9930e86fc291fbdc199c9964f (diff)
[drivers][rtc]Add comments
Diffstat (limited to 'components/drivers/rtc/rtc.c')
-rw-r--r--components/drivers/rtc/rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/rtc/rtc.c b/components/drivers/rtc/rtc.c
index 9e08847f53..041bcde61e 100644
--- a/components/drivers/rtc/rtc.c
+++ b/components/drivers/rtc/rtc.c
@@ -229,7 +229,7 @@ rt_err_t set_time(rt_uint32_t hour, rt_uint32_t minute, rt_uint32_t second)
}
/**
- * Set timestamp(utc).
+ * Set timestamp(UTC).
*
* @param time_t timestamp
*
@@ -251,7 +251,7 @@ rt_err_t set_timestamp(time_t timestamp)
}
/**
- * Get timestamp(utc).
+ * Get timestamp(UTC).
*
* @param time_t* timestamp
*