From ee3f9c98681127496101900d65d05c8520b16732 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 10 Dec 2013 01:30:15 +0100 Subject: Cooling has much less overshoot that heating, account for that --- controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1