Skip to content

Commit bb1cc32

Browse files
committed
Watchdog: kick method should not have any external dep
1 parent 91679d4 commit bb1cc32

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/Watchdog.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifdef DEVICE_WATCHDOG
1818

1919
#include "Watchdog.h"
20-
#include "VirtualWatchdog.h"
2120

2221
#define MS_TO_US(x) ((x) * 1000) //macro to convert millisecond to microsecond
2322

@@ -78,9 +77,6 @@ void Watchdog::kick()
7877
{
7978
core_util_critical_section_enter();
8079
hal_watchdog_kick();
81-
// VirtualWatchdog will access the watchdog process method to verify
82-
// all registered users/threads in alive state */
83-
VirtualWatchdog::process(((elapsed_ms <= 0) ? 1 : elapsed_ms));
8480
core_util_critical_section_exit();
8581
}
8682

0 commit comments

Comments
 (0)