thermferm/one-wire.c

changeset 711
844588d0df65
parent 694
0f1ef5e6418e
child 712
93a87fe230cc
--- a/thermferm/one-wire.c	Thu Apr 25 15:10:37 2024 +0200
+++ b/thermferm/one-wire.c	Thu Apr 25 16:44:54 2024 +0200
@@ -88,7 +88,6 @@
         payloadu = NULL;
     }
     payload = xstrcat(payload, (char *)"]}");
-    syslog(LOG_NOTICE, "%s", payload);
     ws_broadcast(payload);
     free(payload);
     payload = NULL;
@@ -398,7 +397,6 @@
 		devfile = xstrcat(devfile, cur_w1->address);
 		devfile = xstrcat(devfile, (char *)"/temperature");
 		if ((fp = fopen(devfile, "r"))) {
-//		    syslog(LOG_NOTICE, "One-wire device %s temperature is open, delay %d", cur_w1->address, conv_time);
 		    mDelay(conv_time);
 		    if ((fgets(buffer, 25, fp))) {
 			sscanf(buffer, "%d", &value);

mercurial