# HG changeset patch # User darius@Inchoate # Date 1232540560 -37800 # Node ID a1edf53d904e4ba1a9add3bb24bd30f1586cfd05 # Parent 006a99b406ddad1904f835adf5c57fde42516b12 Use new routine to print short error code rather than a cryptic number. diff -r 006a99b406dd -r a1edf53d904e tempctrl.c --- 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