Skip to content
Commit 9e39ef14 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by Sebastian Reichel
Browse files

power: supply: max17042_battery: Improve accuracy of current_now and current_avg readings



Dividing 1562500 by r_sns value usually doesn't result in an integer.

Signed-off-by: default avatarSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 4b0a56e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment