Skip to content

Commit 2ee81ed

Browse files
authored
Merge pull request #5147 from charlown/master
[bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c]: rename rtc ops.
2 parents c8a8b97 + a9aa150 commit 2ee81ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ const static struct rt_rtc_ops rtc_ops =
106106
.set_secs = ch32f1_set_secs,
107107
.get_alarm = RT_NULL,
108108
.set_alarm = RT_NULL,
109-
.get_usecs = RT_NULL,
110-
.set_usecs = RT_NULL};
109+
.get_timeval = RT_NULL,
110+
.set_timeval = RT_NULL};
111111

112112
int rt_hw_rtc_init(void)
113113
{

0 commit comments

Comments
 (0)