From 614e54657dd18eaeda0cbeb3d0a34fc0b4e90fe9 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Sat, 17 Jun 2023 19:29:21 +0200 Subject: [PATCH] Cleanup touchscreen code a little --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 31785600..92e08c15 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -77,8 +77,6 @@ static void sendLine_P(PGM_P str) { sendNewLine(); } -char _conv[8]; - AnycubicMediaPrintState AnycubicTouchscreenClass::mediaPrintingState = AMPRINTSTATE_NOT_PRINTING; AnycubicMediaPauseState AnycubicTouchscreenClass::mediaPauseState = AMPAUSESTATE_NOT_PAUSED; @@ -1666,8 +1664,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() { #if ENABLED(KNUTWURST_4MAXP2) case 30: // a30 assist leveling - SEND_PGM( - "J22"); // level watching finish (that's from anycubic's 4MAX firmware and I don't know, what is does) + SEND_PGM("J22"); // level watching finish SENDLINE_PGM(""); if (!isPrintingFromMedia()) {