From bdd6e0c7fe040b49f8dcc1b9f9122af651c7dd03 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sun, 28 May 2023 17:17:57 +0200 Subject: [PATCH] lower the maximum hotend temperature to stay within the thermistor range MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default thermistor type 1 supports a maximum value of 300°C. The maximum heater temperature plus overshoot value must stay within that range. For all targets but 4MAXP2 we use type 1 with a default overshoot value of 15°C, so let's lower the maximum heater temperature to 285. --- Marlin/Configuration.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 159b7c2a..049616eb 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -740,7 +740,11 @@ // Above this temperature the heater will be switched off. // This can protect components from overheating, but NOT from shorts and failures. // (Use MINTEMP for thermistor short/failure protection.) -#define HEATER_0_MAXTEMP 300 +#if ENABLED(KNUTWURST_4MAXP2) + #define HEATER_0_MAXTEMP 300 +#else + #define HEATER_0_MAXTEMP 285 +#endif #define HEATER_1_MAXTEMP 275 #define HEATER_2_MAXTEMP 275 #define HEATER_3_MAXTEMP 275