• Rahix's avatar
    fix(bhi160): Fix interrupt behavior during initialization · 1a3dfad3
    Rahix authored
    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>
    1a3dfad3