Mercurial > ~darius > hgwebdir.cgi > tempctrl
diff tempctrl.c @ 81:781071a115be
Squeeze down the output so it will fit in 80 colums.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 11 May 2009 09:55:51 +0930 |
parents | c8cd6dd74ca1 |
children | 93388163e037 |
line wrap: on
line diff
--- a/tempctrl.c Wed May 06 08:30:45 2009 +0930 +++ b/tempctrl.c Mon May 11 09:55:51 2009 +0930 @@ -336,15 +336,15 @@ currstate = nextstate; #if 0 - printf_P(PSTR("Time: %10ld, "), t); + printf_P(PSTR("T: %10ld, "), t); #else ds1307_printtime(PSTR(""), PSTR(": ")); #endif - printtemp(PSTR("Target"), settings.target_temp, PSTR(", ")); - printtemp(PSTR("Fermenter"), tempt, PSTR(", ")); // Use actual value from sensor - printtemp(PSTR("Fridge"), fridge_temp, PSTR(", ")); - printtemp(PSTR("Ambient"), ambient_temp, PSTR(", ")); - printf_P(PSTR("State: %S, Flags: %S%S\r\n"), state2long(currstate), + printtemp(PSTR("Tr"), settings.target_temp, PSTR(", ")); + printtemp(PSTR("Fm"), tempt, PSTR(", ")); // Use actual value from sensor + printtemp(PSTR("Fr"), fridge_temp, PSTR(", ")); + printtemp(PSTR("Am"), ambient_temp, PSTR(", ")); + printf_P(PSTR("St: %S, Fl: %S%S\r\n"), state2long(currstate), forced ? PSTR("F") : PSTR(""), stale ? PSTR("S") : PSTR(""));