Fix temp handling for AD595
This commit is contained in:
parent
e1a7710461
commit
14939da092
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue