cpu/cc2538: DEBUG fixes

This commit is contained in:
Kaspar Schleiser 2018-01-12 16:25:32 +01:00
parent ed847a9fdd
commit 4dd854da74

View File

@ -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;
}
}