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.cpp
- Revision:
- 9:90619245fb0a
- Parent:
- 8:ea82a76ca81f
- Child:
- 10:673dff2b0ee6
diff -r ea82a76ca81f -r 90619245fb0a Watchdog.cpp
--- a/Watchdog.cpp Tue Sep 13 17:25:16 2016 +0000
+++ b/Watchdog.cpp Tue Sep 13 18:21:01 2016 +0000
@@ -85,7 +85,9 @@
bool Watchdog::WatchdogCausedReset() {
return wdreset;
}
+
#elif defined(TARGET_STM)
+
Watchdog::Watchdog()
{
wdreset = (RCC->CSR & (1<<29)) ? true : false; // read the IWDGRSTF (Independent WD, not the windows WD)
