doc: cyclic: remove reference to WATCHDOG_RESET

WATCHDOG_RESET is no more. Replace the reference by schedule().

While here, rearrange the sentence a bit so that "cyclic_run()"
becomes the object and "the main function responsible for calling all
registered cyclic functions" a parenthetical rather than the other way
around, which at least to me makes it more readable.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Rasmus Villemoes 2024-10-03 23:27:50 +02:00 committed by Stefan Roese
parent f9318b067f
commit 6250945367

View file

@ -49,8 +49,8 @@ executed all 10ms.
How is this cyclic functionality integrated / executed? How is this cyclic functionality integrated / executed?
-------------------------------------------------------- --------------------------------------------------------
The cyclic infrastructure integrates the main function responsible for The cyclic infrastructure integrates cyclic_run(), the main function
calling all registered cyclic functions cyclic_run() into the common responsible for calling all registered cyclic functions, into the
WATCHDOG_RESET macro. This guarantees that cyclic_run() is executed common schedule() function. This guarantees that cyclic_run() is
very often, which is necessary for the cyclic functions to get scheduled executed very often, which is necessary for the cyclic functions to
and executed at their configured periods. get scheduled and executed at their configured periods.