From 4206e3c4e84fe62fef875442b4cde62bbdf7d2e3 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 7 Jun 2023 21:39:14 +0200 Subject: [PATCH] Invert setSoftEndstopState logic on print stop --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index c639c033..e0642843 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -220,7 +220,7 @@ inline void AnycubicTouchscreenClass::StopPrint() { #if ENABLED(SDSUPPORT) - setSoftEndstopState(false); + setSoftEndstopState(true); mediaPrintingState = AMPRINTSTATE_STOP_REQUESTED; mediaPauseState = AMPAUSESTATE_NOT_PAUSED; SENDLINE_DBG_PGM("J16", "TFT Serial Debug: SD print stop called... J16");