thermferm/one-wire.c

changeset 712
93a87fe230cc
parent 711
844588d0df65
child 715
f5d85af156ab
--- a/thermferm/one-wire.c	Thu Apr 25 16:44:54 2024 +0200
+++ b/thermferm/one-wire.c	Sun Apr 28 14:25:26 2024 +0200
@@ -252,6 +252,7 @@
 		if (strcmp(dev_w1->address, device->address) == 0) {
 //		    pthread_mutex_lock(&mutexes[LOCK_DEVICES]);
 		    device->present = DEVPRESENT_NO;
+		     syslog(LOG_NOTICE, "One-wire device %s marked device %s not present", dev_w1->address, device->address);
 //		    pthread_mutex_unlock(&mutexes[LOCK_DEVICES]);
 		}
 	    }

mercurial