Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iio: humidity: dht11: Allow non-zero decimals #6454

Merged
merged 1 commit into from
Nov 6, 2024

Commits on Nov 4, 2024

  1. 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: raspberrypi#6220
    
    Signed-off-by: Phil Elwell <[email protected]>
    pelwell committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    05faf30 View commit details
    Browse the repository at this point in the history