Added missing conditional

Sun, 13 Jul 2014 22:13:13 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 13 Jul 2014 22:13:13 +0200
changeset 111
bdf3c5278a24
parent 110
54e9940f413b
child 112
d82c5499285c

Added missing conditional

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.c	Sun Jul 13 22:11:46 2014 +0200
+++ b/thermferm/thermferm.c	Sun Jul 13 22:13:13 2014 +0200
@@ -287,8 +287,10 @@
 #endif
     }
 
+#ifdef HAVE_WIRINGPI_H
     lcd_buf_write(1, (char *)"    ThermFerm   ");
     lcd_buf_write(2, (char *)" Version %s     ", VERSION);
+#endif
 
     snprintf(buf, 1023, "tempA,tempB");
     logger((char *)"thermferm.log", buf);

mercurial