sensor: npm1300_charger: use `logf` not `log`
Both the input and output parameters are floats, not doubles, so use
the floating point logarithm variant.
Correct the source of the equations for the latest datasheet versions
at the same time.
Signed-off-by:
Jordan Yates <jordan@embeint.com>
Loading
Please sign in to comment