comparison 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
comparison
equal deleted inserted replaced
80:c8cd6dd74ca1 81:781071a115be
334 334
335 if (nextstate != '-') 335 if (nextstate != '-')
336 currstate = nextstate; 336 currstate = nextstate;
337 337
338 #if 0 338 #if 0
339 printf_P(PSTR("Time: %10ld, "), t); 339 printf_P(PSTR("T: %10ld, "), t);
340 #else 340 #else
341 ds1307_printtime(PSTR(""), PSTR(": ")); 341 ds1307_printtime(PSTR(""), PSTR(": "));
342 #endif 342 #endif
343 printtemp(PSTR("Target"), settings.target_temp, PSTR(", ")); 343 printtemp(PSTR("Tr"), settings.target_temp, PSTR(", "));
344 printtemp(PSTR("Fermenter"), tempt, PSTR(", ")); // Use actual value from sensor 344 printtemp(PSTR("Fm"), tempt, PSTR(", ")); // Use actual value from sensor
345 printtemp(PSTR("Fridge"), fridge_temp, PSTR(", ")); 345 printtemp(PSTR("Fr"), fridge_temp, PSTR(", "));
346 printtemp(PSTR("Ambient"), ambient_temp, PSTR(", ")); 346 printtemp(PSTR("Am"), ambient_temp, PSTR(", "));
347 printf_P(PSTR("State: %S, Flags: %S%S\r\n"), state2long(currstate), 347 printf_P(PSTR("St: %S, Fl: %S%S\r\n"), state2long(currstate),
348 forced ? PSTR("F") : PSTR(""), 348 forced ? PSTR("F") : PSTR(""),
349 stale ? PSTR("S") : PSTR("")); 349 stale ? PSTR("S") : PSTR(""));
350 350
351 setstate: 351 setstate:
352 setstate(currstate); 352 setstate(currstate);