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: Maarten Nieuwenhuize <maarten.nieuwenhuize@picoo.nl> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lis2dh_i2c.c | ||
| lis2dh_spi.c | ||
| lis2dh_trigger.c | ||
| lis2dh.c | ||
| lis2dh.h | ||