From 9c7e330363e1443ba22cfe445ca71ec377ada685 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 7 Jun 2023 18:02:01 +0200 Subject: [PATCH] Fix AutoPowerOff menu selection. --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 751f439f..32f2f2ba 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -1724,12 +1724,14 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) { #if ENABLED(ANYCUBIC_TFT_DEBUG) SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J35 because PrintdoneAndPowerOFF = true"); #endif - SENDLINE_PGM("J35 "); + SEND_PGM("J35 "); + SENDLINE_PGM(""); } else { #if ENABLED(ANYCUBIC_TFT_DEBUG) SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J34 because PrintdoneAndPowerOFF = false"); #endif - SENDLINE_PGM("J34 "); + SEND_PGM("J34 "); + SENDLINE_PGM(""); } } break;