mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 13:55:54 +08:00
Fix issue with latest marlin
some answer start with ok , so remove the filter on ok
This commit is contained in:
parent
1269e9b09a
commit
29e835d101
@ -496,9 +496,6 @@ bool COMMAND::check_command(String buffer, tpipe output, bool handlelockserial)
|
|||||||
#if ((FIRMWARE_TARGET == REPETIER) || (FIRMWARE_TARGET == REPETIER4DV))
|
#if ((FIRMWARE_TARGET == REPETIER) || (FIRMWARE_TARGET == REPETIER4DV))
|
||||||
//save time no need to continue
|
//save time no need to continue
|
||||||
if ((buffer.indexOf("busy:") > -1) || (buffer.startsWith("wait")))return false;
|
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;
|
if (buffer.startsWith("ok"))return false;
|
||||||
#endif
|
#endif
|
||||||
//if direct access to SDCard no need to handle the M20 command answer
|
//if direct access to SDCard no need to handle the M20 command answer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user