STMicroelectronics / STMems_Standard_C_drivers

Platform-independent drivers for STMicroelectronics MEMS motion and environmental sensors, based on standard C programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lsm6dso: function "lsm6dso_sh_data_rate_set"

loveshipting opened this issue · comments

Device part numbers

lsm6dso

Type of bug

examples

Describe the bug

In the file "lsm6dso_reg", at function "int32_t lsm6dso_sh_data_rate_set(stmdev_ctx_t *ctx, lsm6dso_shub_odr_t val)", to modify the bits "shub_odr" in REG"LSM6DSO_SLV1_CONFIG", but "LSM6DSO_SLV1_CONFIG" dont have the "shub_odr" in the datasheet, I think you want to modify the REG "LSM6DSO_SLV0_CONFIG". Please let me know if I am right.

E-mail: 807962927@qq.com

Thanks for your contribution!