Fixed possible one character short on LCD. Added environment air temperature sensor

Mon, 07 Jul 2014 21:15:44 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 07 Jul 2014 21:15:44 +0200
changeset 94
38ee038f4cec
parent 93
b759f814469d
child 95
2c28afc329a5

Fixed possible one character short on LCD. Added environment air temperature sensor

thermferm/lcd-pcf8574.c file | annotate | diff | comparison | revisions
thermferm/thermferm.h file | annotate | diff | comparison | revisions
--- a/thermferm/lcd-pcf8574.c	Fri Jul 04 23:37:53 2014 +0200
+++ b/thermferm/lcd-pcf8574.c	Mon Jul 07 21:15:44 2014 +0200
@@ -28,7 +28,7 @@
 #ifdef HAVE_WIRINGPI_H
 
 int			lcdHandle;
-unsigned char		lcdbuf[MAX_LCDS][20][4];
+unsigned char		lcdbuf[MAX_LCDS][21][4];
 
 struct lcdDataStruct
 {
--- a/thermferm/thermferm.h	Fri Jul 04 23:37:53 2014 +0200
+++ b/thermferm/thermferm.h	Mon Jul 07 21:15:44 2014 +0200
@@ -147,6 +147,7 @@
     char		*name;			/* Configuration name		*/
     int			my_port;		/* my client/server port	*/
     unsigned char	tempFormat;		/* Temperature format, C or F	*/
+    char		*air_address;		/* 1-wire environment sensor	*/
     w1_therm		*w1therms;		/* 1-wire temp sensors		*/
 #ifdef HAVE_WIRINGPI_H
     int			lcd_cols;		/* LCD display columns		*/

mercurial