diff options
Diffstat (limited to 'nuttx/sched/wdog/wd_start.c')
-rw-r--r-- | nuttx/sched/wdog/wd_start.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/wdog/wd_start.c b/nuttx/sched/wdog/wd_start.c index 25d829409..6faf0e6df 100644 --- a/nuttx/sched/wdog/wd_start.c +++ b/nuttx/sched/wdog/wd_start.c @@ -452,7 +452,7 @@ unsigned int wd_timer(int ticks) /* There are. Decrement the lag counter */ wdog->lag -= decr; - ticks -= ticks; + ticks -= decr; /* Check if the watchdog at the head of the list is ready to run */ |