diff options
| author | Meco Man <[email protected]> | 2021-07-30 03:55:18 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-07-30 07:01:09 +0800 |
| commit | a25667a7e5fa449d8554a4589744eeca26a615c0 (patch) | |
| tree | 653e313c79da68411c5664582753496b18763a9d /components/drivers/include | |
| parent | 94a9332915fe971277ed6aa86f544c8dd3f459ea (diff) | |
[rtc] add comments
Diffstat (limited to 'components/drivers/include')
| -rw-r--r-- | components/drivers/include/drivers/rtc.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |
