wangchdo commented on code in PR #17279:
URL: https://github.com/apache/nuttx/pull/17279#discussion_r2492450255
##########
sched/wdog/wd_start.c:
##########
@@ -139,7 +139,7 @@ static inline_function void wd_expiration(clock_t ticks)
/* Check if expected time is expired */
- if (!clock_compare(wdog->expired, ticks))
+ if (!clock_compare(wdog->expired, clock_systime_ticks()))
Review Comment:
Got it. How about calling it during each iteration just in non-tickless
mode? I've uploaded the update for this; please take a look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]