thermferm/devices.c

changeset 591
95cf33f8021f
parent 589
230a502b75ec
child 596
e3d3cde32847
--- a/thermferm/devices.c	Sun Apr 28 19:59:43 2019 +0200
+++ b/thermferm/devices.c	Thu May 09 16:40:17 2019 +0200
@@ -350,8 +350,6 @@
 
 			    if ((write_w1(device->address, (char *)"output", output)) == 0) {
 			    	syslog(LOG_NOTICE, "DS2413 PIO%c value=%d (%s)", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment);
-			    	if (debug)
-				    fprintf(stdout, "DS2413 PIO%c value=%d (%s)\n", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment);
 				device->value = (value == 0) ? 0 : 1;
 				device->timestamp = time(NULL);
 			    }

mercurial