thermferm/devices.c

changeset 344
acd840c9fcc0
parent 343
ba3a2d27d59e
child 347
0ab5c3fd7c77
--- a/thermferm/devices.c	Thu Mar 26 16:40:53 2015 +0100
+++ b/thermferm/devices.c	Thu Mar 26 20:34:53 2015 +0100
@@ -302,8 +302,10 @@
 			    ndev->description = xstrcpy((char *)"DS18B20 Digital thermometer");
 			} else if (strcmp(buf, (char *)"29") == 0) {
 			    ndev->description = xstrcpy((char *)"DS2408 8 Channel addressable switch/LCD");
+			    ndev->direction = DEVDIR_IN_BIN;
 			} else if (strcmp(buf, (char *)"3a") == 0) {
 			    ndev->description = xstrcpy((char *)"DS2413 Dual channel addressable switch");
+			    ndev->direction = DEVDIR_IN_BIN;
 			} else if (strcmp(buf, (char *)"3b") == 0) {
 			    ndev->direction = DEVDIR_IN_ANALOG;
 			    ndev->description = xstrcpy((char *)"DS1825 Digital thermometer");

mercurial