commit | a6bffb6920d16fb2ef4ba072fac5b64b36b1c254 | [log] [tgz] |
---|---|---|
author | Harald Geyer <harald@ccbib.org> | Sun Feb 11 11:09:40 2018 +0000 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Feb 17 12:03:16 2018 +0000 |
tree | c78fa9fce5d4f2c43082c5e40b6d3fb4946896e5 | |
parent | 7fe2241c0ed6e6940924ed58fec8877f72e1279d [diff] |
iio: dht11: Improve detection of sensor type The old code was based on a DHT11 datasheet which specifies a measurement range of 20%-90% RH. Turns out the sensor actually reports values outside this range, so we should support it as far as possible. Reported-by: Edward Attfield <edward@attfield.ca> Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>