Fix 4MAX build
This commit is contained in:
@@ -1699,17 +1699,18 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (CodeSeen('S')) {
|
if (CodeSeen('S')) {
|
||||||
if (PrintdoneAndPowerOFF)
|
if (PrintdoneAndPowerOFF) {
|
||||||
#if ENABLED(ANYCUBIC_TFT_DEBUG)
|
#if ENABLED(ANYCUBIC_TFT_DEBUG)
|
||||||
SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J35 because PrintdoneAndPowerOFF = true");
|
SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J35 because PrintdoneAndPowerOFF = true");
|
||||||
#endif
|
#endif
|
||||||
SENDLINE_PGM("J35 ");
|
SENDLINE_PGM("J35 ");
|
||||||
else
|
} else {
|
||||||
#if ENABLED(ANYCUBIC_TFT_DEBUG)
|
#if ENABLED(ANYCUBIC_TFT_DEBUG)
|
||||||
SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J34 because PrintdoneAndPowerOFF = false");
|
SERIAL_ECHOLNPGM("TFT Serial Debug: Sending J34 because PrintdoneAndPowerOFF = false");
|
||||||
#endif
|
#endif
|
||||||
SENDLINE_PGM("J34 ");
|
SENDLINE_PGM("J34 ");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 42:
|
case 42:
|
||||||
|
Reference in New Issue
Block a user