Cleanup touchscreen code a little

This commit is contained in:
Knutwurst
2023-06-17 19:29:21 +02:00
parent 524d6fbcdf
commit 614e54657d

View File

@@ -77,8 +77,6 @@ static void sendLine_P(PGM_P str) {
sendNewLine(); sendNewLine();
} }
char _conv[8];
AnycubicMediaPrintState AnycubicTouchscreenClass::mediaPrintingState = AMPRINTSTATE_NOT_PRINTING; AnycubicMediaPrintState AnycubicTouchscreenClass::mediaPrintingState = AMPRINTSTATE_NOT_PRINTING;
AnycubicMediaPauseState AnycubicTouchscreenClass::mediaPauseState = AMPAUSESTATE_NOT_PAUSED; AnycubicMediaPauseState AnycubicTouchscreenClass::mediaPauseState = AMPAUSESTATE_NOT_PAUSED;
@@ -1666,8 +1664,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() {
#if ENABLED(KNUTWURST_4MAXP2) #if ENABLED(KNUTWURST_4MAXP2)
case 30: // a30 assist leveling case 30: // a30 assist leveling
SEND_PGM( SEND_PGM("J22"); // level watching finish
"J22"); // level watching finish (that's from anycubic's 4MAX firmware and I don't know, what is does)
SENDLINE_PGM(""); SENDLINE_PGM("");
if (!isPrintingFromMedia()) { if (!isPrintingFromMedia()) {