Files
lm-sensors/prog
Michal Simek 1b8b1bce9e sensors: Scale voltage and current values
scale_value is generic function for scaling values. There is a lower
resolution then json format provides for voltage and current.
The patch is calling scale_value() and showing values with higher
resolution.
For example on Xilinx ZynqMP platform:
ina226-i2c-3-41
Adapter: i2c-0-mux (chan_id 0)
in0:           2.00 mV
in1:         848.00 mV
power1:      287.50 mW
curr1:       330.00 mA

Signed-off-by: Michal Simek <monstr@monstr.eu>
2019-06-20 13:31:52 +02:00
..
2018-10-05 17:59:30 +02:00
2018-09-01 19:38:55 +02:00
2018-09-01 19:38:55 +02:00
2019-01-26 22:12:15 +01:00
2018-09-01 19:38:55 +02:00
2018-09-01 19:38:55 +02:00