Resolved! lsm6dso sensor not work right in multithread mode
I am working with lsm6dso sensor for a watch. At the beginning, I am using the follwoing function to get steps in the register. It works in a while loop and can work rightly. int32_t lsm6dso_number_of_steps_get(stmdev_ctx_t *ctx, uint8_t *buff) { ...