4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 15:53:32 +08:00

Merge pull request #5147 from charlown/master

[bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c]: rename rtc ops.
This commit is contained in:
Bernard Xiong 2021-10-12 08:20:54 +08:00 committed by GitHub
commit 2ee81eda1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,8 +106,8 @@ const static struct rt_rtc_ops rtc_ops =
.set_secs = ch32f1_set_secs, .set_secs = ch32f1_set_secs,
.get_alarm = RT_NULL, .get_alarm = RT_NULL,
.set_alarm = RT_NULL, .set_alarm = RT_NULL,
.get_usecs = RT_NULL, .get_timeval = RT_NULL,
.set_usecs = RT_NULL}; .set_timeval = RT_NULL};
int rt_hw_rtc_init(void) int rt_hw_rtc_init(void)
{ {