Fix temp handling for AD595

This commit is contained in:
kliment 2011-07-11 15:54:34 +02:00
parent e1a7710461
commit 14939da092

View file

@ -1287,7 +1287,7 @@ inline void manage_heater()
target_raw = 0;
}
#endif
#if (TEMP_0_PIN > -1) || defined (HEATER_USES_MAX66675)
#if (TEMP_0_PIN > -1) || defined (HEATER_USES_MAX6675) || defined (HEATER_USES_AD595)
#ifdef PIDTEMP
error = target_raw - current_raw;
pTerm = (PID_PGAIN * error) / 100;