# HG changeset patch # User Michiel Broek # Date 1442515501 -7200 # Node ID 0ad4cb5f4afac9d2121c56393ddc84d16fa6e1c6 # Parent 6205c79316594f78e1df816e3f14a0ef116dd155 Code cleanup. diff -r 6205c7931659 -r 0ad4cb5f4afa thermferm/thermferm.c --- 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,