summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-07-11 15:54:34 +0200
committerkliment <kliment.yanev@gmail.com>2011-07-11 15:54:34 +0200
commit14939da092feb1a5efa053dae530de77bab99a8d (patch)
tree5a2ae6f3b99369af5fc09731eee2980be275d645 /Sprinter
parente1a7710461a6de1e2fe4574899d048df0a0c732f (diff)
Fix temp handling for AD595
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/Sprinter.pde2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index 3961019..45b68da 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -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;