drivers: adxl362: rework temperature conversion
This commit consolidates the temperature conversion into a single
location and subtracts the bias from the measurement using values from
the datasheet. Also magic numbers have been replaced with more
descriptive macros.
Signed-off-by:
Brett Witherspoon <spoonb@cdspooner.com>
Loading
Please sign in to comment