285 } else { |
285 } else { |
286 t++; |
286 t++; |
287 #endif |
287 #endif |
288 } |
288 } |
289 |
289 |
|
290 #ifdef HAVE_WIRINGPI_H |
290 lcd_buf_write(1, (char *)" ThermFerm "); |
291 lcd_buf_write(1, (char *)" ThermFerm "); |
291 lcd_buf_write(2, (char *)" Version %s ", VERSION); |
292 lcd_buf_write(2, (char *)" Version %s ", VERSION); |
|
293 #endif |
292 |
294 |
293 snprintf(buf, 1023, "tempA,tempB"); |
295 snprintf(buf, 1023, "tempA,tempB"); |
294 logger((char *)"thermferm.log", buf); |
296 logger((char *)"thermferm.log", buf); |
295 |
297 |
296 for (unit = Config.units; unit; unit = unit->next) { |
298 for (unit = Config.units; unit; unit = unit->next) { |