brewco/brewco.c

changeset 478
fe8bf61cde06
parent 477
9167ad4c2e77
child 479
0e6a1163e6e3
--- a/brewco/brewco.c	Sun Dec 27 17:52:26 2015 +0100
+++ b/brewco/brewco.c	Sun Dec 27 20:21:06 2015 +0100
@@ -426,6 +426,11 @@
 				    last_step = brew->brewstep;
 				    initlog(brew->name);
 				}
+				if (oldsec != seconds) {
+				    tempstatus();
+				    percstatus((seconds / 2) % 4);
+				    oldsec = seconds;
+				}
 				if (set_HLT_heater(unit, 1, 85.0))
 				    syslog(LOG_NOTICE, "AUTO: premash turn on HLT at %6.2f", hltSetpoint);
 				if (set_MLT_heater(unit, 1, 10.0))
@@ -537,6 +542,7 @@
 							    mlt_status(1);
 							    pump_status(unit->pump_onmash);
 							    last_fase = mash_fase;
+							    syslog(LOG_NOTICE, "AUTO: mash step %d fase HEATING started", brew->mashstep);
 							}
 							if (set_MLT_pump(unit, unit->pump_onmash))
 							    syslog(LOG_NOTICE, "AUTO: mash turn %s MLT pump", mlt_pump_state ? "on":"off");
@@ -612,12 +618,12 @@
 					prompt(118, NULL);          /* "AUTO --> Mash Out   " */
 					prompt(220, NULL);          /* "   Mash Removed?    " */
 					prompt(300, NULL);
-					prompt(410, NULL);          /* " Continue: Yes  No  " */
+					prompt(407, NULL);          /* "---  ---   No   Yes " */
 					last_step = brew->brewstep;
 				    }
 				    slcdDummy(slcdHandle);
 				    key = keycheck();
-				    if (key == KEY_RETURN) {
+				    if (key == KEY_ENTER) {
 					syslog(LOG_NOTICE, "AUTO: Confirmed Mash removed");
 					brew->brewstep = STEP_PREBOIL;
 				    }

mercurial