Thermistor name problem

This commit is contained in:
Erik van der Zalm 2011-11-06 23:20:01 +01:00
parent 0b43761c3a
commit e3af73ee0c

View File

@ -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
}
}