From 0414278d80f9c78095939d0e597415d6ed364c31 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Fri, 28 Jun 2019 12:54:21 +0100 Subject: [PATCH] Watchdog: example code - add kick() --- drivers/Watchdog.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/Watchdog.h b/drivers/Watchdog.h index 696169df7c..0f91459a03 100644 --- a/drivers/Watchdog.h +++ b/drivers/Watchdog.h @@ -40,7 +40,9 @@ namespace mbed { * watchdog.start(); * * while (true) { - * // Application code + // kick watchdog regularly within provided timeout + watchdog.kick(); + // Application code * } * @endcode *