mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
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>