diff -r 934d45d9751d -r c5b1dfd83e81 thermferm/devices.c --- a/thermferm/devices.c Sun Aug 10 16:56:22 2014 +0200 +++ b/thermferm/devices.c Sun Aug 10 17:25:50 2014 +0200 @@ -40,8 +40,6 @@ int dht11_temperature = -1; int dht11_humidity = -1; int dht11_valid = FALSE; -int dht11_t_offset = 0; -int dht11_h_offset = 0; static uint8_t sizecvt(const int read_value) { @@ -144,8 +142,6 @@ int h = dht11_dat[0] + dht11_dat[1]; int t = (dht11_dat[2] & 0x7F) + dht11_dat[3]; - t += dht11_t_offset; - h += dht11_h_offset; if ((dht11_dat[2] & 0x80) != 0) t *= -1;