• Rahix's avatar
    revert(bhi160): Re-add hack to fix axis mapping · 448ec494
    Rahix authored
    Originally, commit 1a3dfad3 ("fix(bhi160): Fix interrupt behavior
    during initialization") was supposed to fix the BHI160 axis-mapping
    issue (see #133) but apparently on some devices it still
    needs the original hack to work.  Revert the removal of the axis-mapping
    hack from commit 2f56ff36 ("fix(bhi160): Call bhy_mapping_matrix_set
    twice for the first time").
    
    Fixes: 1a3dfad3 ("fix(bhi160): Fix interrupt behavior during initialization")
    Link: #133Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
    448ec494
bhi.c 13.1 KB