Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: humidity: dht11: Allow non-zero decimals
The DHT11 datasheet is pretty cryptic, but it does suggest that after each integer value (humidity and temperature) there are "decimal" values. Validate these as integers in the range 0-9 and treat them as tenths of a unit. Link: #6220 Signed-off-by: Phil Elwell <[email protected]>
- Loading branch information