Skip to content
Commit da95a407 authored by Benjamin Perseghetti's avatar Benjamin Perseghetti Committed by Carles Cufí
Browse files

drivers: sensor: ina23x: calculate cal at compile.



Calculate the calibration value at compile for ina23x.
Maximizes the precision of the calcualtion value by
using 64bit math at compile, allows for removal
of rshunt config option.

Code cleaned up with clang-format.

Co-authored-by: default avatarTrent Piepho <tpiepho@gmail.com>
Signed-off-by: default avatarBenjamin Perseghetti <bperseghetti@rudislabs.com>
parent 5336e7fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment