Thu, 11 Apr 2024 11:19:04 +0200
Stop logging ghost one-wire devices.
thermferm/one-wire.c | file | annotate | diff | comparison | revisions |
--- a/thermferm/one-wire.c Mon Apr 08 13:16:42 2024 +0200 +++ b/thermferm/one-wire.c Thu Apr 11 11:19:04 2024 +0200 @@ -159,7 +159,7 @@ } pthread_mutex_unlock(&mutexes[LOCK_ONE_WIRE]); } - } else { + } else if (strcmp(w1type, (char *)"00")) { syslog(LOG_NOTICE, "One-wire device %d %s unknown", strlen(buffer), buffer); } }