thermferm/server.c

changeset 194
9eaaba49450f
parent 192
5d013b4a9138
child 195
b34a1b2421fb
--- a/thermferm/server.c	Thu Aug 07 21:19:30 2014 +0200
+++ b/thermferm/server.c	Thu Aug 07 22:06:18 2014 +0200
@@ -910,7 +910,7 @@
 	unit->temp_set_max = 30.0;
 	unit->idle_rangeH = 1.0;
 	unit->idle_rangeL = -1.0;
-	unit->prof_started = (time_t)0;
+	unit->prof_started = unit->prof_paused = (time_t)0;
 	unit->PID_err_old = unit->PID_I_err = 0.0;
 
 	if (Config.units == NULL) {

mercurial