commit | 2ac238cce0d617736693efad478202ec8e036fc2 | [log] [tgz] |
---|---|---|
author | Sašo Domadenik <saso.doma@gmail.com> | Sat Oct 04 19:18:53 2025 +0200 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Wed Oct 08 17:47:10 2025 +0300 |
tree | 92dbf9903b295771efcd19c72781ef205f77857a | |
parent | f56f1967e097c79ce229d9b84fb04fd1f9d555cf [diff] |
drivers: sensor: ds18b20: Fix temperature calculation for ds18s20 The millionths value is calculated incorrectly. The sensor has a precision of 0.5 which is 500000 millionths, but there is an extra zero in the code. This fix removes the extra zero. Signed-off-by: Sašo Domadenik <saso.doma@gmail.com>