Skip to content
Commit 86a7e29b authored by Maarten Nieuwenhuize's avatar Maarten Nieuwenhuize Committed by Benjamin Cabé
Browse files

drivers: sensors: lis2dh: added full high-pass filter capabilities



The lis2dh driver has the ability to enable the hp filter.
However it was only possible to set the first 2 bits of the hp register.
These bits indicate wether the hp filter is enabled for the interrupts.
This commit moves lis2dh_acc_hp_filter_set to lis2dh.
 It also removes the mask so that all bits are able to be set.

Signed-off-by: default avatarMaarten Nieuwenhuize <maarten.nieuwenhuize@picoo.nl>
parent e7e6cb9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment