From a25667a7e5fa449d8554a4589744eeca26a615c0 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Fri, 30 Jul 2021 03:55:18 +0800 Subject: [rtc] add comments --- components/drivers/include/drivers/rtc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'components/drivers/include') diff --git a/components/drivers/include/drivers/rtc.h b/components/drivers/include/drivers/rtc.h index ab64dd8ec9..0bafbad7ad 100644 --- a/components/drivers/include/drivers/rtc.h +++ b/components/drivers/include/drivers/rtc.h @@ -6,7 +6,8 @@ * Change Logs: * Date Author Notes * 2012-10-10 aozima first version. - * 2021-06-11 iysheng implement RTC v2.0 + * 2021-06-11 iysheng implement RTC framework V2.0 + * 2021-07-30 Meco Man move rtc_core.h to rtc.h */ #ifndef __RTC_H__ @@ -38,7 +39,7 @@ typedef struct rt_rtc_device const struct rt_rtc_ops *ops; } rt_rtc_dev_t; -rt_err_t rt_hw_rtc_register(rt_rtc_dev_t *rtc, +rt_err_t rt_hw_rtc_register(rt_rtc_dev_t *rtc, const char *name, rt_uint32_t flag, void *data); -- cgit v1.3.1