1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00

cpu/gd32v: timer: add ; after DEBUG()

This commit is contained in:
Benjamin Valentin 2021-12-08 18:30:24 +01:00
parent 39e6e19c9c
commit 55454e9301

View File

@ -119,7 +119,7 @@ int timer_init(tim_t tim, unsigned long freq, timer_cb_t cb, void *arg)
/* set prescaler */
dev(tim)->PSC = (((periph_apb_clk(timer_config[tim].bus) * 2) / freq) - 1);
DEBUG("[timer]: %" PRIu32 "/%lu = %" PRIu16 "\n",
periph_apb_clk(timer_config[tim].bus), freq, dev(tim)->PSC)
periph_apb_clk(timer_config[tim].bus), freq, dev(tim)->PSC);
/* generate an update event to apply our configuration */
dev(tim)->SWEVG = TIMER0_SWEVG_UPG_Msk;