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

[bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c]: rename rtc ops.

This commit is contained in:
charlown 2021-10-11 21:29:23 +08:00
parent 277bb736d7
commit a9aa150e16

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)
{ {