From e3af73ee0c8a8fe46d3206bcf4608be6cfc49f02 Mon Sep 17 00:00:00 2001 From: Erik van der Zalm Date: Sun, 6 Nov 2011 23:20:01 +0100 Subject: [PATCH] Thermistor name problem --- Marlin/temperature.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index 1121c654ee..d47e07024f 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -200,7 +200,7 @@ int temp2analog(int celsius) { } // Overflow: Set to last value in the table - if (i == NUMTEMPS_0) raw = heater_0_temptable[i-1][0]; + if (i == NUMTEMPS_HEATER_0) raw = heater_0_temptable[i-1][0]; return (1023 * OVERSAMPLENR) - raw; #elif defined HEATER_0_USES_AD595 @@ -544,4 +544,4 @@ ISR(TIMER0_COMPB_vect) #endif } } - +