mirror of https://github.com/ARMmbed/mbed-os.git
Watchdog: example code - add kick()
parent
09dc0cd758
commit
0414278d80
|
@ -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
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue