From 76cb3aec921db07716c939ab02643f22126474da Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Sat, 8 Jul 2023 11:38:28 +0200 Subject: [PATCH] Disable SoftEndstop handling while printing. --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index eb032bae..b2acb5f8 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -2061,7 +2061,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() { if (mediaPrintingState == AMPRINTSTATE_PRINTING) { SENDLINE_DBG_PGM("J04", "TFT Serial Debug: Starting SD Print... soft endstops disabled J04"); // J04 Starting Print - setSoftEndstopState(false); + //setSoftEndstopState(false); live_Zoffset = 0.0; powerOFFflag = false; } @@ -2082,7 +2082,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() { if (mediaPrintingState == AMPRINTSTATE_PRINTING) { mediaPrintingState = AMPRINTSTATE_NOT_PRINTING; mediaPauseState = AMPAUSESTATE_NOT_PAUSED; - setSoftEndstopState(true); + //setSoftEndstopState(true); powerOFFflag = true; SENDLINE_DBG_PGM("J14", "TFT Serial Debug: SD Print Completed... soft endstops enabled J14"); }