Watchdog: example code - add kick()

pull/11023/head
Martin Kojtal 2019-06-28 12:54:21 +01:00
parent 09dc0cd758
commit 0414278d80
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ namespace mbed {
* watchdog.start(); * watchdog.start();
* *
* while (true) { * while (true) {
* // Application code // kick watchdog regularly within provided timeout
watchdog.kick();
// Application code
* } * }
* @endcode * @endcode
* *