thermferm/devices.c

changeset 351
d8c410c320db
parent 348
ffc4b8aa824f
child 354
5ff387f4d6b7
--- a/thermferm/devices.c	Wed Apr 01 21:56:35 2015 +0200
+++ b/thermferm/devices.c	Wed Apr 01 22:10:59 2015 +0200
@@ -288,7 +288,7 @@
 		test_value = value;
 	    }
 
-	    if ((test_value != my_value) || (((int)now - (int)my_timestamp) > 120)) {
+	    if ((test_value != my_value) || (((int)now - (int)my_timestamp) >= 120)) {
 
 #ifdef HAVE_WIRINGPI_H
 		rc = 0;

mercurial