From ae822a6bbf537d7a735f6fb37eb8ab9bf4ab2630 Mon Sep 17 00:00:00 2001 From: Luc Date: Sun, 4 Dec 2016 16:53:27 +0100 Subject: [PATCH] Avoid to fire WD if long output from Serial --- esp3d/command.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esp3d/command.cpp b/esp3d/command.cpp index e8b6aed9..70f3c600 100644 --- a/esp3d/command.cpp +++ b/esp3d/command.cpp @@ -490,6 +490,8 @@ void COMMAND::check_command(String buffer, tpipe output, bool handlelockserial) LOG("Check Command:") LOG(buffer) LOG("\r\n") + //feed the WD for safety + delay(0); //if direct access to SDCard no need to handle the M20 command answer #ifndef DIRECT_SDCARD_FEATURE static bool bfileslist=false;