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

/linux-4.1.27/drivers/iio/humidity/
H A Ddht11.c41 #define DHT11_DATA_VALID_TIME 2000000000 /* 2s in ns */ macro
176 if (dht11->timestamp + DHT11_DATA_VALID_TIME < iio_get_time_ns()) { dht11_read_raw()
277 dht11->timestamp = iio_get_time_ns() - DHT11_DATA_VALID_TIME - 1; dht11_probe()

Completed in 31 milliseconds