Fix issue with latest marlin

some answer start with ok , so remove the filter on ok
This commit is contained in:
Luc 2016-12-05 06:05:52 +01:00
parent 1269e9b09a
commit 29e835d101

View File

@ -496,9 +496,6 @@ bool COMMAND::check_command(String buffer, tpipe output, bool handlelockserial)
#if ((FIRMWARE_TARGET == REPETIER) || (FIRMWARE_TARGET == REPETIER4DV))
//save time no need to continue
if ((buffer.indexOf("busy:") > -1) || (buffer.startsWith("wait")))return false;
#endif
//because some answer start by ok ...
#if (FIRMWARE_TARGET != SMOOTHIEWARE)
if (buffer.startsWith("ok"))return false;
#endif
//if direct access to SDCard no need to handle the M20 command answer