Revert "Disable SoftEndstop handling while printing."

This reverts commit 76cb3aec92.
This commit is contained in:
Knutwurst
2023-07-15 11:49:37 +02:00
parent 76cb3aec92
commit f122af1903

View File

@@ -2061,7 +2061,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() {
if (mediaPrintingState == AMPRINTSTATE_PRINTING) { if (mediaPrintingState == AMPRINTSTATE_PRINTING) {
SENDLINE_DBG_PGM("J04", SENDLINE_DBG_PGM("J04",
"TFT Serial Debug: Starting SD Print... soft endstops disabled J04"); // J04 Starting Print "TFT Serial Debug: Starting SD Print... soft endstops disabled J04"); // J04 Starting Print
//setSoftEndstopState(false); setSoftEndstopState(false);
live_Zoffset = 0.0; live_Zoffset = 0.0;
powerOFFflag = false; powerOFFflag = false;
} }
@@ -2082,7 +2082,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() {
if (mediaPrintingState == AMPRINTSTATE_PRINTING) { if (mediaPrintingState == AMPRINTSTATE_PRINTING) {
mediaPrintingState = AMPRINTSTATE_NOT_PRINTING; mediaPrintingState = AMPRINTSTATE_NOT_PRINTING;
mediaPauseState = AMPAUSESTATE_NOT_PAUSED; mediaPauseState = AMPAUSESTATE_NOT_PAUSED;
//setSoftEndstopState(true); setSoftEndstopState(true);
powerOFFflag = true; powerOFFflag = true;
SENDLINE_DBG_PGM("J14", "TFT Serial Debug: SD Print Completed... soft endstops enabled J14"); SENDLINE_DBG_PGM("J14", "TFT Serial Debug: SD Print Completed... soft endstops enabled J14");
} }