Mercurial > ~darius > hgwebdir.cgi > tempctrl
diff tempctrl.c @ 79:a1edf53d904e
Use new routine to print short error code rather than a cryptic number.
author | darius@Inchoate |
---|---|
date | Wed, 21 Jan 2009 22:52:40 +1030 |
parents | 006a99b406dd |
children | c8cd6dd74ca1 |
line wrap: on
line diff
--- a/tempctrl.c Wed Jan 21 22:52:15 2009 +1030 +++ b/tempctrl.c Wed Jan 21 22:52:40 2009 +1030 @@ -368,7 +368,7 @@ if (tmp > OW_TEMP_BADVAL) printf_P(PSTR("%S: %d.%02d%S"), name, GETWHOLE(tmp), GETFRAC(tmp), trailer); else - printf_P(PSTR("%S: NA (%d)%S"), name, tmp, trailer); + printf_P(PSTR("%S: %S%S"), name, OWTempStatusStr(tmp, 1), trailer); } /* Read the settings from EEPROM