Commit 1a3dfad3 authored by Rahix's avatar Rahix

fix(bhi160): Fix interrupt behavior during initialization

As discussed in issue #133, the BHI160 changes its
interrupt behavior during initialization.  In commit 2f56ff36
("fix(bhi160): Call bhy_mapping_matrix_set twice for the first time")
a quick workaround for this issue was added.  Replace this hack with
a proper fix by reconfiguring the interrupt on the host side according
to the specification.

(Finally) fixes #133.

Fixes: 2f56ff36 ("fix(bhi160): Call bhy_mapping_matrix_set twice for the first time")
Link: #133 (comment 5894)Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 713a76b2
Pipeline #4403 passed with stages
in 1 minute and 4 seconds