From df03c527e9bb28f314f2a4b6ed733e64fa83a250 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Thu, 27 Jun 2019 15:54:55 +0100 Subject: [PATCH] Watchdog: kick method should not have any external dep --- drivers/Watchdog.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/Watchdog.cpp b/drivers/Watchdog.cpp index 805d2ab291..e135d0616d 100644 --- a/drivers/Watchdog.cpp +++ b/drivers/Watchdog.cpp @@ -17,7 +17,6 @@ #ifdef DEVICE_WATCHDOG #include "Watchdog.h" -#include "VirtualWatchdog.h" #define MS_TO_US(x) ((x) * 1000) //macro to convert millisecond to microsecond @@ -78,9 +77,6 @@ void Watchdog::kick() { core_util_critical_section_enter(); hal_watchdog_kick(); - // VirtualWatchdog will access the watchdog process method to verify - // all registered users/threads in alive state */ - VirtualWatchdog::process(((elapsed_ms <= 0) ? 1 : elapsed_ms)); core_util_critical_section_exit(); }