Class to add reset supervision with a watchdog timer functionality

Dependents:   Example_WatchDog_Timer

Files at this revision

API Documentation at this revision

Comitter:
rlanders73
Date:
Tue Jun 15 14:00:35 2021 +0000
Parent:
4:f31b32884780
Commit message:
removing COMMON_PAL requirement, as this has been depricated.

Changed in this revision

ResetSupervisor.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f31b32884780 -r 7af579ded04f ResetSupervisor.cpp
--- a/ResetSupervisor.cpp	Sat Oct 05 19:40:12 2019 +0000
+++ b/ResetSupervisor.cpp	Tue Jun 15 14:00:35 2021 +0000
@@ -11,15 +11,8 @@
 #include "mbed.h"
 #include "ResetSupervisor.h"
 
-#ifdef FEATURE_COMMON_PAL
 #include "mbed_trace.h"
 #define TRACE_GROUP "WDT"
-#else
-#define tr_debug(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
-#define tr_info(format, ...)  debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
-#define tr_warn(format, ...)  debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
-#define tr_error(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
-#endif
 
 /// Supervisor gets instantiated at the module level
 Supervisor::Supervisor() {