Skip to content
Commit c743e727 authored by Yuval Peress's avatar Yuval Peress Committed by Carles Cufí
Browse files

bmi160: Fix gyro range map



The range map was sorted wrong since the function
bmi160_range_to_reg_val() that uses it checks for the user value less
than the range component of the bmi160_range struct. This means that
no matter what range is set, the value will always end up 2000dps.

Signed-off-by: default avatarYuval Peress <peress@google.com>
parent 2d09f1f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment