Fix PowerOff.

This commit is contained in:
Knutwurst
2023-06-03 21:15:52 +02:00
parent 61fba37678
commit fbd1b7b9bf

View File

@@ -1918,7 +1918,7 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
}
#if ENABLED(KNUTWURST_4MAXP2)
if (PrintdoneAndPowerOFF && powerOFFflag && (int(getActualTemp_celsius(E0) + 0.5) < 50 )) {
if (PrintdoneAndPowerOFF && powerOFFflag && ((int(getActualTemp_celsius(E0)) + 0.5) < 50 )) {
powerOFFflag = 0;
PowerDown();
}