From acee1592c953b75945a9488b8634317395a73366 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 7 Jun 2023 08:49:56 +0200 Subject: [PATCH] Add setSoftEndstopState to TFT print and stop functions. --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 684a82e0..2a332982 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -197,6 +197,7 @@ SERIAL_ECHOPGM(" "); SERIAL_ECHOLN(currentFileOrDirectory); #endif + setSoftEndstopState(false); mediaPrintingState = AMPRINTSTATE_PRINTING; mediaPauseState = AMPAUSESTATE_NOT_PAUSED; printFile(currentFileOrDirectory); @@ -219,6 +220,7 @@ inline void AnycubicTouchscreenClass::StopPrint() { #if ENABLED(SDSUPPORT) + setSoftEndstopState(false); mediaPrintingState = AMPRINTSTATE_STOP_REQUESTED; mediaPauseState = AMPAUSESTATE_NOT_PAUSED; SENDLINE_DBG_PGM("J16", "TFT Serial Debug: SD print stop called... J16");