thermferm/thermferm.c

changeset 309
c0dc3cd97fa4
parent 308
876a8420c75a
child 310
53774295e14a
--- a/thermferm/thermferm.c	Sun Feb 15 18:18:44 2015 +0100
+++ b/thermferm/thermferm.c	Sun Feb 15 18:21:20 2015 +0100
@@ -1335,7 +1335,6 @@
 			    unit->PID_I_err = 10.0;
 			P_err = err;
 			D_err = err - unit->PID_err_old;
-			unit->PID_err_old = err;
 
 			/*
 			 * A postive value means heating, a negative value cooling.

mercurial