Fix 4MAX build

This commit is contained in:
Knutwurst
2023-06-07 09:09:14 +02:00
parent f7060d5524
commit c48395f801

View File

@@ -1699,17 +1699,18 @@ 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;
case 42: