Fixed logging of old pid error again

Sun, 15 Feb 2015 18:21:20 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 15 Feb 2015 18:21:20 +0100
changeset 309
c0dc3cd97fa4
parent 308
876a8420c75a
child 310
53774295e14a

Fixed logging of old pid error again

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- 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