From be0471679d32236b130661a598e7b75cd7d9c311 Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Sat, 21 Oct 2023 06:16:46 -0400 Subject: [PATCH] compiles, crashes with JMRI --- DCCTimerGiga.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DCCTimerGiga.cpp b/DCCTimerGiga.cpp index 61dc243..394800d 100644 --- a/DCCTimerGiga.cpp +++ b/DCCTimerGiga.cpp @@ -243,14 +243,15 @@ int DCCTimer::getMinimumFreeMemory() { int DCCTimer::freeMemory() { char top; - return (int)(1024); + return (int)(1024000); } void DCCTimer::reset() { //Watchdog &watchdog = Watchdog::get_instance(); //Watchdog::stop(); //Watchdog::start(500); - while(true) {}; + + //while(true) {}; } int16_t ADCee::ADCmax()