mirror of
https://github.com/cwyark/ameba-sdk-gcc-make.git
synced 2024-11-24 06:54:19 +00:00
11 lines
340 B
Text
11 lines
340 B
Text
|
Example Description
|
||
|
|
||
|
This example describes how to use watchdog api.
|
||
|
|
||
|
Requirement Components: None
|
||
|
|
||
|
In this example, watchdog is setup to 5s timeout.
|
||
|
Watchdog won't bark if we refresh it before timeout.
|
||
|
The timer is also reloaded after refresh.
|
||
|
Otherwise it will restart system in default or call callback function if registered.
|