comparison tempctrl.c @ 78:006a99b406dd

Modify comment to match reality.
author darius@Inchoate
date Wed, 21 Jan 2009 22:52:15 +1030
parents ca5fc59ec4f0
children a1edf53d904e
comparison
equal deleted inserted replaced
77:ca5fc59ec4f0 78:006a99b406dd
359 359
360 return(t); 360 return(t);
361 } 361 }
362 362
363 /* 363 /*
364 * Print out temperature (or NA + error code) with specified trailer 364 * Print out temperature (or short error code) with specified trailer
365 */ 365 */
366 static void 366 static void
367 printtemp(char *name, int tmp, char *trailer) { 367 printtemp(char *name, int tmp, char *trailer) {
368 if (tmp > OW_TEMP_BADVAL) 368 if (tmp > OW_TEMP_BADVAL)
369 printf_P(PSTR("%S: %d.%02d%S"), name, GETWHOLE(tmp), GETFRAC(tmp), trailer); 369 printf_P(PSTR("%S: %d.%02d%S"), name, GETWHOLE(tmp), GETFRAC(tmp), trailer);