Skip to content

Commit fdd0d32

Browse files
dbogdanjic23
authored andcommitted
iio: imu: adis16480: Fix acceleration scale factor for adis16480
According to the datasheet, the range of the acceleration is [-10 g, + 10 g], so the scale factor should be 10 instead of 5. Signed-off-by: Dragos Bogdan <[email protected]> Acked-by: Lars-Peter Clausen <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent f00fd7a commit fdd0d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/imu/adis16480.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ static const struct adis16480_chip_info adis16480_chip_info[] = {
696696
.gyro_max_val = IIO_RAD_TO_DEGREE(22500),
697697
.gyro_max_scale = 450,
698698
.accel_max_val = IIO_M_S_2_TO_G(12500),
699-
.accel_max_scale = 5,
699+
.accel_max_scale = 10,
700700
},
701701
[ADIS16485] = {
702702
.channels = adis16485_channels,

0 commit comments

Comments
 (0)