diff options
| author | Harald Geyer <harald@ccbib.org> | 2018-02-11 11:09:40 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-02-17 12:03:16 +0000 |
| commit | a6bffb6920d16fb2ef4ba072fac5b64b36b1c254 (patch) | |
| tree | c78fa9fce5d4f2c43082c5e40b6d3fb4946896e5 /tools/perf/scripts/python | |
| parent | 7fe2241c0ed6e6940924ed58fec8877f72e1279d (diff) | |
| download | linux-a6bffb6920d16fb2ef4ba072fac5b64b36b1c254.tar.gz linux-a6bffb6920d16fb2ef4ba072fac5b64b36b1c254.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
