Skip to content

Commit b3ceb0a

Browse files
kurisaWCopilot
andauthored
improve: fix the printing error issue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9d77d13 commit b3ceb0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static rt_err_t gd32_wdt_init(rt_watchdog_t *wdt)
5252
rcu_osci_on(WDT_OSCI_TYPE);
5353
if (ERROR == rcu_osci_stab_wait(WDT_OSCI_TYPE))
5454
{
55-
LOG_E("failed init %s clock for free watchdog.", WDT_OSCI_TYPE);
55+
LOG_E("failed init %u clock for free watchdog.", WDT_OSCI_TYPE);
5656
return -RT_EINVAL;
5757
}
5858
#endif

0 commit comments

Comments
 (0)