diff --git a/drivers/timers/timer.c b/drivers/timers/timer.c index 6bcbc3b634..0186e9977f 100644 --- a/drivers/timers/timer.c +++ b/drivers/timers/timer.c @@ -258,7 +258,7 @@ static int timer_ioctl(FAR struct file *filep, int cmd, unsigned long arg) { /* Stop the timer */ - if (lower->ops->start) + if (lower->ops->stop) { ret = lower->ops->stop(lower); }