Searched refs:timeres (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/iio/humidity/
H A Ddht11.c93 timeres = DHT11_SENSOR_RESPONSE; dht11_decode() local
99 if (t > 0 && t < timeres) dht11_decode()
100 timeres = t; dht11_decode()
102 if (2*timeres > DHT11_DATA_BIT_HIGH) { dht11_decode()
104 timeres); dht11_decode()
107 threshold = DHT11_DATA_BIT_HIGH / timeres; dht11_decode()
108 if (DHT11_DATA_BIT_LOW/timeres + 1 >= threshold) dht11_decode()
111 /* scale down with timeres and check validity */ dht11_decode()
117 timing[i] = t / timeres; dht11_decode()

Completed in 65 milliseconds