Fix 4MAX build
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user