Searched refs:hum_int (Results 1 – 1 of 1) sorted by relevance
96 unsigned char temp_int, temp_dec, hum_int, hum_dec, checksum; in dht11_decode() local111 hum_int = dht11_decode_byte(timing, threshold); in dht11_decode()117 if (((hum_int + hum_dec + temp_int + temp_dec) & 0xff) != checksum) in dht11_decode()121 if (hum_int < 20) { /* DHT22 */ in dht11_decode()124 dht11->humidity = ((hum_int << 8) + hum_dec) * 100; in dht11_decode()127 dht11->humidity = hum_int * 1000; in dht11_decode()131 hum_int, hum_dec, temp_int, temp_dec); in dht11_decode()