Skip to content
Commit 7ffc2008 authored by Benjamin Lindqvist's avatar Benjamin Lindqvist Committed by Lauren Murphy
Browse files

drivers: sensor: bmi270: don't force val2 > 0



The struct sensor_value type does NOT require val2 to be positive. The
removed code is in fact a rather serious bug, probably put in place
because it makes printing sensor_values easier.

Signed-off-by: default avatarBenjamin Lindqvist <benjamin@eub.se>
parent 72838499
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment