From c48395f8010b078ecfeb5cc14c1161b0d26f0e38 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 7 Jun 2023 09:09:14 +0200 Subject: [PATCH] Fix 4MAX build --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 5cfd78e4..41cbca3f 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -1699,16 +1699,17 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) { break; } if (CodeSeen('S')) { - if (PrintdoneAndPowerOFF) + if (PrintdoneAndPowerOFF) { #if ENABLED(ANYCUBIC_TFT_DEBUG) SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J35 because PrintdoneAndPowerOFF = true"); #endif SENDLINE_PGM("J35 "); - else + } else { #if ENABLED(ANYCUBIC_TFT_DEBUG) SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J34 because PrintdoneAndPowerOFF = false"); #endif SENDLINE_PGM("J34 "); + } } break;