docs/wdog: Document wd_start_next delay requirement.

Clarify that wd_start_next() requires a positive delay so callers do not
attempt to schedule the next expiration at the previous expiration time.

Assisted-by: OpenAI Codex <noreply@openai.com>
Signed-off-by: yushuailong <yyyusl@qq.com>
This commit is contained in:
yushuailong 2026-09-26 12:16:22 +08:00 • committed by Xiang Xiao
parent e5d9960f56
commit fed0c445ed

View file

@ -551,7 +551,7 @@ or ``kill()`` to communicate with NuttX tasks.
the wdog->expired being set.
:param wdog: Watchdog ID
:param delay: Delay count in clock ticks
:param delay: Positive delay count in clock ticks
:param wdentry: Function to call on timeout
:param arg: The parameter to pass to wdentry.