Provide necessary error handling for `lis2dh_reg_read_byte` function which might fail. Also, use a common `status` variable to be used for storing the error code. Fixes #10590 Coverity-CID: 188733 Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lis2dh_trigger.c | ||
| lis2dh.c | ||
| lis2dh.h | ||