Watchdog: example code - add kick()

pull/10857/head
Martin Kojtal 2019-06-28 12:54:21 +01:00
parent 6b26b23d7b
commit 188655f929
1 changed files with 3 additions and 1 deletions

View File

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