Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
You do not need to reset the sensor state if it has become a fail (it has become a fault for a reason). One example of a real error: due to the incorrect path to the device file, the sensor state became fail, after that, during initialization, this state was reset and when trying to read data from this sensor, the program terminated with SEGFAULT.
- Loading branch information