staging:iio:ad7793: Fix VDD monitor scale
The VDD monitor scale was off by a factor of 10. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
e143ef8f29
commit
24b27fa109
|
@ -292,7 +292,7 @@ static int ad7793_read_raw(struct iio_dev *indio_dev,
|
|||
return IIO_VAL_INT_PLUS_NANO;
|
||||
} else {
|
||||
/* 1170mV / 2^23 * 6 */
|
||||
scale_uv = (1170ULL * 100000000ULL * 6ULL);
|
||||
scale_uv = (1170ULL * 1000000000ULL * 6ULL);
|
||||
}
|
||||
break;
|
||||
case IIO_TEMP:
|
||||
|
|
Loading…
Reference in a new issue