staging:iio:ad7793: Fix temperature scale
The temperature scale was off by a factor of 1000. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
24b27fa109
commit
e4ac728363
|
@ -297,7 +297,7 @@ static int ad7793_read_raw(struct iio_dev *indio_dev,
|
|||
break;
|
||||
case IIO_TEMP:
|
||||
/* 1170mV / 0.81 mV/C / 2^23 */
|
||||
scale_uv = 1444444444444ULL;
|
||||
scale_uv = 1444444444444444ULL;
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in New Issue