summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2013-12-10 01:30:15 +0100
committerChristian Franke <nobody@nowhere.ws>2013-12-10 01:30:15 +0100
commitee3f9c98681127496101900d65d05c8520b16732 (patch)
treea328622d36f8b459039842b86bfbba4f69035c64
parent7b703bbd125e920f65197b9439234ead6903167c (diff)
Cooling has much less overshoot that heating, account for that
-rw-r--r--controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.c b/controller.c
index 29ac0ab..bde2cac 100644
--- a/controller.c
+++ b/controller.c
@@ -87,7 +87,7 @@ ISR(ADC_vect)
controller_num_iterations = 60;
- if ((long)controller_measured_temp < controller_target_temp - 20) {
+ if ((long)controller_measured_temp < controller_target_temp - 5) {
/* Cooling required */
bridge_on_cool();
return;