thermferm/thermferm.h

changeset 93
b759f814469d
parent 92
116226a8c70a
child 94
38ee038f4cec
--- a/thermferm/thermferm.h	Fri Jul 04 20:00:19 2014 +0200
+++ b/thermferm/thermferm.h	Fri Jul 04 23:37:53 2014 +0200
@@ -67,9 +67,9 @@
     char		*name;			/* friendly name		*/
     float		volume;			/* Volume of this unit		*/
     char		*air_address;		/* DS18B20 address		*/
-    float		air_temp;		/* Air temperature		*/
+    int			air_temp;		/* Air temperature * 1000	*/
     char		*beer_address;		/* DS18B20 address		*/
-    float		beer_temp;		/* Beer temperature		*/
+    int			beer_temp;		/* Beer temperature * 1000	*/
     char		*io1_address;		/* DS2413 address		*/
     char		*io2_address;		/* DS2413 address		*/
     int			heater_available;	/* Heater available		*/
@@ -230,6 +230,12 @@
 void *my_server_loop(void *);
 #endif
 
+#ifdef HAVE_WIRINGPI_H
+PI_THREAD (my_units_loop);
+#else
+void *my_units_loop(void *);
+#endif
+
 
 #endif
 

mercurial