Invert setSoftEndstopState logic on print stop

This commit is contained in:
Knutwurst
2023-06-07 21:39:14 +02:00
parent dfc9cbe8b1
commit 4206e3c4e8

View File

@@ -220,7 +220,7 @@
inline void AnycubicTouchscreenClass::StopPrint() { inline void AnycubicTouchscreenClass::StopPrint() {
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
setSoftEndstopState(false); setSoftEndstopState(true);
mediaPrintingState = AMPRINTSTATE_STOP_REQUESTED; mediaPrintingState = AMPRINTSTATE_STOP_REQUESTED;
mediaPauseState = AMPAUSESTATE_NOT_PAUSED; mediaPauseState = AMPAUSESTATE_NOT_PAUSED;
SENDLINE_DBG_PGM("J16", "TFT Serial Debug: SD print stop called... J16"); SENDLINE_DBG_PGM("J16", "TFT Serial Debug: SD print stop called... J16");