Skip to content

Commit 8e1bbb0

Browse files
committed
[ab32] rt_rtc_control->ab32_rtc_control
1 parent 1ba020f commit 8e1bbb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bsp/bluetrum/libraries/hal_drivers/drv_rtc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static void rt_rtc_init(void)
182182
hal_rtc_init();
183183
}
184184

185-
static rt_err_t rt_rtc_control(rt_device_t dev, int cmd, void *args)
185+
static rt_err_t ab32_rtc_control(rt_device_t dev, int cmd, void *args)
186186
{
187187
rt_err_t result = RT_EOK;
188188
RT_ASSERT(dev != RT_NULL);
@@ -224,7 +224,7 @@ const static struct rt_device_ops rtc_ops =
224224
RT_NULL,
225225
RT_NULL,
226226
RT_NULL,
227-
rt_rtc_control
227+
ab32_rtc_control
228228
};
229229
#endif
230230

@@ -241,7 +241,7 @@ static rt_err_t rt_hw_rtc_register(rt_device_t device, const char *name, rt_uint
241241
device->close = RT_NULL;
242242
device->read = RT_NULL;
243243
device->write = RT_NULL;
244-
device->control = rt_rtc_control;
244+
device->control = ab32_rtc_control;
245245
#endif
246246
device->type = RT_Device_Class_RTC;
247247
device->rx_indicate = RT_NULL;

0 commit comments

Comments
 (0)