diff --git a/cpu/cc2538/periph/timer.c b/cpu/cc2538/periph/timer.c index c36d0f9999..f4c7e42077 100644 --- a/cpu/cc2538/periph/timer.c +++ b/cpu/cc2538/periph/timer.c @@ -132,7 +132,8 @@ int timer_init(tim_t tim, unsigned long freq, timer_cb_t cb, void *arg) } if (freq != sys_clock_freq()) { - DEBUG("In 32-bit mode, the GPTimer frequency must equal the system clock frequency (%u).", sys_clock_freq()); + DEBUG("In 32-bit mode, the GPTimer frequency must equal the system clock frequency (%u).\n", + (unsigned)sys_clock_freq()); return -1; } }