--- a/thermferm/thermferm.h Sat Mar 23 09:31:01 2024 +0100 +++ b/thermferm/thermferm.h Sat Mar 23 12:18:14 2024 +0100 @@ -37,9 +37,7 @@ #include <uuid/uuid.h> #include <math.h> #include <json-c/json.h> -#ifndef HAVE_WIRINGPI_H #include <pthread.h> -#endif #include <libxml/xmlmemory.h> #include <libxml/parser.h> #include <libxml/encoding.h> @@ -52,6 +50,7 @@ #include <pcf8574.h> #include <lcd.h> +#endif /* * Thread locks @@ -60,8 +59,7 @@ #define LOCK_LCD 1 #define LOCK_MENU 2 #define LOCK_SPARE2 3 - -#endif +#define LOCK_SPARE3 4 /*