commit | 15d1ea544b02599aa5c1eed61d80092716411f24 | [log] [tgz] |
---|---|---|
author | Guðni Már Gilbert <gudni.m.g@gmail.com> | Sat Mar 06 00:04:41 2021 +0000 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Tue Mar 09 14:16:24 2021 +0100 |
tree | 85ba6f7194fa2d6117930fc1a2d804765fa7d934 | |
parent | 156914f405a0253bbcf9d48941f5100ef2038cfd [diff] |
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: Guðni Már Gilbert <gudni.m.g@gmail.com>