# HG changeset patch # User Michiel Broek # Date 1451245972 -3600 # Node ID 0e6a1163e6e37a92331a46a978c36f0db4146c43 # Parent fe8bf61cde06a6a19863e881e638379e8fefad05 Bild target temperature 0.1 degree higher. Removed debug log from the simulator diff -r fe8bf61cde06 -r 0e6a1163e6e3 brewco/brewco.c --- 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"); diff -r fe8bf61cde06 -r 0e6a1163e6e3 brewco/simulator.c --- 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);