Skip to content
Snippets Groups Projects
Commit 23b4a9ed authored by rahix's avatar rahix
Browse files

fix(bhi160): Disable driver on critical error


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>
parent 1a3dfad3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment