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:
Rahix <rahix@rahix.de>
Loading
Please register or sign in to comment