thermferm/thermferm.h

changeset 77
143077e54255
parent 76
d2c7b32f27d6
child 78
c49ab5179bf3
--- a/thermferm/thermferm.h	Wed Jun 25 16:16:47 2014 +0200
+++ b/thermferm/thermferm.h	Wed Jun 25 16:56:09 2014 +0200
@@ -119,6 +119,7 @@
 typedef struct _sys_config {
     char		*name;			/* Configuration name		*/
     int			my_port;		/* my client/server port	*/
+    unsigned char	tempFormat;		/* Temperature format, C or F	*/
     w1_therm		*w1therms;		/* 1-wire temp sensors		*/
 #ifdef HAVE_WIRINGPI_H
     int			lcd_cols;		/* LCD display columns		*/
@@ -132,7 +133,6 @@
     float		cs_heatEstimator;
     float		cs_coolEstimator;
     						/* ControlConstants		*/
-    unsigned char	cc_tempFormat;
     float		cc_tempSetMin;
     float		cc_tempSetMax;
     float		cc_idleRangeH;

mercurial