[sam34][timer] Fix ops check in TCIOC_STOP.
This commit is contained in:
parent
fd1d874a8a
commit
d27ebee070
@ -258,7 +258,7 @@ static int timer_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
|||||||
{
|
{
|
||||||
/* Stop the timer */
|
/* Stop the timer */
|
||||||
|
|
||||||
if (lower->ops->start)
|
if (lower->ops->stop)
|
||||||
{
|
{
|
||||||
ret = lower->ops->stop(lower);
|
ret = lower->ops->stop(lower);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user