Files
lm-sensors/prog
xaizek 62a9553191 pwm: fix bad scaling due to use of integer type
This fixes commit c1a1f4ff20 ("pwm: Move
scaling factor from sensors prog to library") which didn't account for
return type of `get_type_scaling()` being `int` rather than `double` or
`float`, so the scaling was done by a factor of 2 instead of 2.55, thus
making the result off by quite a lot.

ms: adjust test
2026-04-21 13:24:21 +02:00
..
2024-01-17 19:41:20 +01:00
2024-01-27 14:39:51 +01:00
2023-12-26 13:51:51 +01:00
2024-02-17 12:41:20 +01:00
2018-09-01 19:38:55 +02:00
2024-01-27 14:39:51 +01:00
2018-09-01 19:38:55 +02:00