mirror of https://github.com/ARMmbed/mbed-os.git
Watchdog: example code - add kick()
parent
6b26b23d7b
commit
188655f929
|
@ -40,7 +40,9 @@ namespace mbed {
|
|||
* watchdog.start();
|
||||
*
|
||||
* while (true) {
|
||||
* // Application code
|
||||
// kick watchdog regularly within provided timeout
|
||||
watchdog.kick();
|
||||
// Application code
|
||||
* }
|
||||
* @endcode
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue