From d84516016372b094183a3796ac8fb76fb182a18b Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Thu, 30 Sep 2021 10:24:50 +0200 Subject: [PATCH] Allow ed temoeratures higher than 115 degrees --- Marlin/src/lcd/anycubic_touchscreen.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index 0983a285..7d42a3eb 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -362,7 +362,7 @@ void AnycubicTouchscreenClass::StartPrint() #endif break; case 2: -// paused by M600 + // paused by M600 #ifdef ANYCUBIC_TFT_DEBUG SERIAL_ECHOPAIR(" DEBUG: AI3M Pause State: ", ai3m_pause_state); SERIAL_EOL(); @@ -1843,8 +1843,11 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() unsigned int tempbed; if (CodeSeen('S')) { - tempbed = constrain(CodeValue(), 0, 150); + tempbed = constrain(CodeValue(), 0, 115); thermalManager.setTargetBed(tempbed); + if(thermalManager.degTargetBed() <= 115) { + thermalManager.setTargetBed(tempbed); // do not set Temp from TFT if it is set via gcode + } } } break;