Avoid to fire WD if long output from Serial

This commit is contained in:
Luc 2016-12-04 16:53:27 +01:00
parent 0e749c454d
commit ae822a6bbf

View File

@ -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;