diff options
author | Dimitri Fedrau <[email protected]> | 2024-01-26 14:52:26 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-01-27 14:40:07 +0000 |
commit | a69eeaad093dd2c8fd0b216c8143b380b73d672d (patch) | |
tree | d7f36446682b4829c2bccb170fdcc9f4e3145260 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 9c46e3a5232d855a65f440b298a2a66497f799d2 (diff) |
iio: humidity: hdc3020: fix temperature offset
The temperature offset should be negative according to the datasheet.
Adding a minus to the existing offset results in correct temperature
calculations.
Fixes: c9180b8e39be ("iio: humidity: Add driver for ti HDC302x humidity sensors")
Reviewed-by: Nuno Sa <[email protected]>
Signed-off-by: Dimitri Fedrau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions