# HG changeset patch # User Michiel Broek # Date 1427919059 -7200 # Node ID d8c410c320db1e17e35ef9124bbb7d97c42a9d4c # Parent 7283561977b1d02d272cc4dabfd303fec072b05d Fixed auto device update timer diff -r 7283561977b1 -r d8c410c320db thermferm/devices.c --- 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;