thermferm/devices.c

changeset 181
4099412fca09
parent 179
417ee898fb02
child 185
4f34271cf1e7
--- a/thermferm/devices.c	Mon Aug 04 23:36:05 2014 +0200
+++ b/thermferm/devices.c	Tue Aug 05 11:57:05 2014 +0200
@@ -42,6 +42,9 @@
     if (uuid == NULL)
 	return 0;
 
+    if (debug)
+	fprintf(stdout, "device_out(%s, %d)\n", uuid, value);
+
     for (device = Config.devices; device; device = device->next) {
 	if (strcmp(uuid, device->uuid) == 0) {
 	    if (value != device->value) {

mercurial