STM32 Tickless: Fixes compilation error when timer info/debug messages are enabled.

This commit is contained in:
Rajan Gill 2017-09-13 07:14:13 -06:00 committed by Gregory Nutt
parent 1d58fb8d02
commit 15784ca46f
1 changed files with 2 additions and 2 deletions

View File

@ -872,8 +872,8 @@ int up_timer_start(FAR const struct timespec *ts)
uint32_t count;
irqstate_t flags;
tmrinfo("handler=%p arg=%p, ts=(%lu, %lu)\n",
handler, arg, (unsigned long)ts->tv_sec, (unsigned long)ts->tv_nsec);
tmrinfo("ts=(%lu, %lu)\n",
(unsigned long)ts->tv_sec, (unsigned long)ts->tv_nsec);
DEBUGASSERT(ts);
DEBUGASSERT(g_tickless.tch);