Allow ed temoeratures higher than 115 degrees

This commit is contained in:
Knutwurst
2021-09-30 10:24:50 +02:00
parent 21d062c285
commit d845160163

View File

@@ -1843,8 +1843,11 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
unsigned int tempbed; unsigned int tempbed;
if (CodeSeen('S')) if (CodeSeen('S'))
{ {
tempbed = constrain(CodeValue(), 0, 150); tempbed = constrain(CodeValue(), 0, 115);
thermalManager.setTargetBed(tempbed); thermalManager.setTargetBed(tempbed);
if(thermalManager.degTargetBed() <= 115) {
thermalManager.setTargetBed(tempbed); // do not set Temp from TFT if it is set via gcode
}
} }
} }
break; break;