From 706076e4f1e111e64ef09ff662a81f1d2a76fcbc Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Sat, 21 Oct 2023 05:38:13 -0400 Subject: [PATCH] commit, but i think board is bricked --- DCCTimerGiga.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DCCTimerGiga.cpp b/DCCTimerGiga.cpp index 6c38d45..61dc243 100644 --- a/DCCTimerGiga.cpp +++ b/DCCTimerGiga.cpp @@ -31,7 +31,6 @@ #if defined(ARDUINO_GIGA) #include "DCCTimer.h" - #include "DIAG.h" /////////////////////////////////////////////////////////////////////////////////////////////// @@ -248,7 +247,10 @@ int DCCTimer::freeMemory() { } void DCCTimer::reset() { - // do nothing for now + //Watchdog &watchdog = Watchdog::get_instance(); + //Watchdog::stop(); + //Watchdog::start(500); + while(true) {}; } int16_t ADCee::ADCmax()