# HG changeset patch # User Michiel Broek # Date 1408384736 -7200 # Node ID 1ce52a38080e04228461f8958db0e2f4082341e6 # Parent 870d0be6880dddbf49470748438089bba7863cad Fixed conditional compile diff -r 870d0be6880d -r 1ce52a38080e thermferm/server.c --- a/thermferm/server.c Mon Aug 18 19:55:52 2014 +0200 +++ b/thermferm/server.c Mon Aug 18 19:58:56 2014 +0200 @@ -1061,7 +1061,9 @@ } } } +#ifdef HAVE_WIRINGPI_H lcd_buf_reset(); +#endif run_pause = FALSE; syslog(LOG_NOTICE, "Unit %s added", unit->uuid); @@ -1081,7 +1083,9 @@ } rc = delete_Unit(param); +#ifdef HAVE_WIRINGPI_H lcd_buf_reset(); +#endif run_pause = FALSE; if (rc) {