We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0d939 commit 4996188Copy full SHA for 4996188
bsp/gd32/arm/libraries/gd32_drivers/drv_rtc.c
@@ -109,7 +109,7 @@ static int rt_hw_rtc_init(void)
109
/* set lxtal as rtc clock source */
110
rcu_rtc_clock_config(RCU_RTCSRC_LXTAL);
111
}
112
-#elif def BSP_RTC_USING_LSI
+#elif defined BSP_RTC_USING_LSI
113
rcu_osci_on(RCU_IRC40K);
114
if (SUCCESS == rcu_osci_stab_wait(RCU_IRC40K))
115
{
0 commit comments