drivers/sensor: lsm6ds0: Fix typo when configuring FS at 16G
Fixed a typo when selecting LSM6DS0_ACCEL_FULLSCALE_16G. (Fixes #45583) Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
b3949415d8
commit
f91471640e
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@
|
|||
#define LSM6DS0_DEFAULT_ACCEL_FULLSCALE 3
|
||||
#define LSM6DS0_DEFAULT_ACCEL_FULLSCALE_FACTOR (8.0 * SENSOR_G_DOUBLE)
|
||||
#elif defined(LSM6DS0_ACCEL_FULLSCALE_16G)
|
||||
#define LSM6DS0_DEFALUT_ACCEL_FULLSCALE 1
|
||||
#define LSM6DS0_DEFAULT_ACCEL_FULLSCALE 1
|
||||
#define LSM6DS0_DEFAULT_ACCEL_FULLSCALE_FACTOR (16.0 * SENSOR_G_DOUBLE)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue