mirror of https://github.com/RT-Thread/rt-thread
[bsp/gd32/arm/libraries] Repair naming (#10184)
This commit is contained in:
parent
522f7aa0d3
commit
1b0d939edb
|
@ -109,7 +109,7 @@ static int rt_hw_rtc_init(void)
|
||||||
/* set lxtal as rtc clock source */
|
/* set lxtal as rtc clock source */
|
||||||
rcu_rtc_clock_config(RCU_RTCSRC_LXTAL);
|
rcu_rtc_clock_config(RCU_RTCSRC_LXTAL);
|
||||||
}
|
}
|
||||||
#elifdef BSP_RTC_USING_LSI
|
#elif def BSP_RTC_USING_LSI
|
||||||
rcu_osci_on(RCU_IRC40K);
|
rcu_osci_on(RCU_IRC40K);
|
||||||
if (SUCCESS == rcu_osci_stab_wait(RCU_IRC40K))
|
if (SUCCESS == rcu_osci_stab_wait(RCU_IRC40K))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue