Skip to content
Snippets Groups Projects
Forked from card10 / firmware
Source project has a limited visibility.
  • rahix's avatar
    23b4a9ed
    fix(bhi160): Disable driver on critical error · 23b4a9ed
    rahix authored
    
    If initialization fails, bhi160 API calls should not infinitely block
    waiting for it to complete; they should fail immediately with an error
    stating that something went wrong.
    
    Add a flag that indicates the driver to not accept API requests because
    initialization was not finished properly.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>
    23b4a9ed
    History
    fix(bhi160): Disable driver on critical error
    rahix authored
    
    If initialization fails, bhi160 API calls should not infinitely block
    waiting for it to complete; they should fail immediately with an error
    stating that something went wrong.
    
    Add a flag that indicates the driver to not accept API requests because
    initialization was not finished properly.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>