Skip to content
Commit 15d1ea54 authored by Guðni Már Gilbert's avatar Guðni Már Gilbert Committed by Carles Cufí
Browse files

drivers: sensor: bmi160: Fix bug where undersampling is not set



Fix #32774

Bit position BIT(7) is 1000 0000 in binary which is actually the
bit positon 128. BIT(7) can be used as a mask, but we need to define
the position specifically as the integer 7.

Signed-off-by: default avatarGuðni Már Gilbert <gudni.m.g@gmail.com>
parent 156914f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment