Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Watchdog by
Diff: Watchdog.h
- Revision:
- 1:5a1ff72b5915
- Parent:
- 0:7a316f14da9c
- Child:
- 2:2873f068f325
--- a/Watchdog.h Sun Mar 20 23:22:50 2011 +0000
+++ b/Watchdog.h Sun Mar 20 23:24:36 2011 +0000
@@ -29,7 +29,7 @@
///
/// wd.Configure(30.0); // sets the timeout interval
/// for (;;) {
-/// wd.Service; // kick the dog before the timeout
+/// wd.Service(); // kick the dog before the timeout
/// @endcode
///
class Watchdog {
@@ -61,6 +61,10 @@
/// Service the Watchdog so it does not cause a system reset
///
+ /// example:
+ /// @code
+ /// wd.Service();
+ /// @endcode
/// @returns none
void Service();
