Wed, 01 Apr 2015 22:10:59 +0200
Fixed auto device update timer
thermferm/devices.c | file | annotate | diff | comparison | revisions |
--- 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;