Skip to content

Commit 1b0d939

Browse files
authored
[bsp/gd32/arm/libraries] Repair naming (#10184)
1 parent 522f7aa commit 1b0d939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/gd32/arm/libraries/gd32_drivers/drv_rtc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static int rt_hw_rtc_init(void)
109109
/* set lxtal as rtc clock source */
110110
rcu_rtc_clock_config(RCU_RTCSRC_LXTAL);
111111
}
112-
#elifdef BSP_RTC_USING_LSI
112+
#elif def BSP_RTC_USING_LSI
113113
rcu_osci_on(RCU_IRC40K);
114114
if (SUCCESS == rcu_osci_stab_wait(RCU_IRC40K))
115115
{

0 commit comments

Comments
 (0)