Code cleanup.

Thu, 17 Sep 2015 20:45:01 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 17 Sep 2015 20:45:01 +0200
changeset 405
0ad4cb5f4afa
parent 404
6205c7931659
child 406
44566f986f76

Code cleanup.

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.c	Thu Sep 17 20:38:07 2015 +0200
+++ b/thermferm/thermferm.c	Thu Sep 17 20:45:01 2015 +0200
@@ -1151,9 +1151,6 @@
 
 			    switch (unit->prof_state) {
 				case PROFILE_OFF:
-//						unit->prof_target_lo = profile->inittemp_lo;
-//						unit->prof_target_hi = profile->inittemp_hi;
-//						unit->prof_fridge_mode = 0;
 						unit->prof_percent = 0;
 						break;
 				case PROFILE_PAUSE:
@@ -1243,9 +1240,6 @@
 								unit->prof_fridge_mode = step->fridge_mode;
 							    }
 							    if (debug)
-								fprintf(stdout, "%d/%d/%d ", previous_fridge_mode, step->fridge_mode, unit->prof_fridge_mode);
-
-							    if (debug)
 								fprintf(stdout, "tempshift=%.1f..%.1f  minutes=%d duration=%d temp_move=%.3f..%.3f ", 
 										step->target_lo - previous_target_lo,
 										step->target_hi - previous_target_hi,

mercurial