Bild target temperature 0.1 degree higher. Removed debug log from the simulator

Sun, 27 Dec 2015 20:52:52 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 27 Dec 2015 20:52:52 +0100
changeset 479
0e6a1163e6e3
parent 478
fe8bf61cde06
child 480
1992db823b7e
child 482
68f4468bfc24

Bild target temperature 0.1 degree higher. Removed debug log from the simulator

brewco/brewco.c file | annotate | diff | comparison | revisions
brewco/simulator.c file | annotate | diff | comparison | revisions
--- a/brewco/brewco.c	Sun Dec 27 20:21:06 2015 +0100
+++ b/brewco/brewco.c	Sun Dec 27 20:52:52 2015 +0100
@@ -649,7 +649,7 @@
 				}
 				if (set_HLT_heater(unit, 0, 10.0))
 				    syslog(LOG_NOTICE, "AUTO: preboil turn off HLT");
-				if (set_MLT_heater(unit, 1, 100.0))
+				if (set_MLT_heater(unit, 1, 100.1))
 				    syslog(LOG_NOTICE, "AUTO: preboil turn on MLT to boil");
 				if (set_MLT_pump(unit, unit->pump_onboil && (mltInput < unit->pump_stop)))
 				    syslog(LOG_NOTICE, "AUTO: preboil turn %s MLT pump", mlt_pump_state ? "on":"off");
@@ -662,7 +662,7 @@
 
 	case STEP_BOILING:	if (set_HLT_heater(unit, 0, 10.0))
 				    syslog(LOG_NOTICE, "AUTO: boil turn off HLT");
-				if (set_MLT_heater(unit, 1, 100.0))
+				if (set_MLT_heater(unit, 1, 100.1))
 				    syslog(LOG_NOTICE, "AUTO: boil turn on MLT to boil");
 				if (set_MLT_pump(unit, unit->pump_onboil && (mltInput < unit->pump_stop)))
 				    syslog(LOG_NOTICE, "AUTO: boil turn %s MLT pump", mlt_pump_state ? "on":"off");
--- a/brewco/simulator.c	Sun Dec 27 20:21:06 2015 +0100
+++ b/brewco/simulator.c	Sun Dec 27 20:52:52 2015 +0100
@@ -118,11 +118,11 @@
 	    /*
 	     * Each second
 	     */
-	    if (debug)
-		fprintf(stdout, "HLT temp=%f plate=%f val=%d   MLT temp=%f plate=%f val=%d   Room %.1f loops=%d  cool=%s\n",
-			Config.simulator->hlt_temperature, Config.simulator->hlt_heater_temp, Config.simulator->hlt_heater_state,
-			Config.simulator->mlt_temperature, Config.simulator->mlt_heater_temp, Config.simulator->mlt_heater_state,
-			Config.simulator->room_temperature, loops, SIM_cooler ? "Yes":"No");
+//	    if (debug)
+//		fprintf(stdout, "HLT temp=%f plate=%f val=%d   MLT temp=%f plate=%f val=%d   Room %.1f loops=%d  cool=%s\n",
+//			Config.simulator->hlt_temperature, Config.simulator->hlt_heater_temp, Config.simulator->hlt_heater_state,
+//			Config.simulator->mlt_temperature, Config.simulator->mlt_heater_temp, Config.simulator->mlt_heater_state,
+//			Config.simulator->room_temperature, loops, SIM_cooler ? "Yes":"No");
 	    loops = 0;
 	}
 	usleep(50000);

mercurial