iio: chemical: atlas-ph-sensor: fix typo in val assignment
Fix an incorrect assignment due to a typo on a variable name. The variable val2 should be assigned 100000 and not val. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-By: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
fcf68f3c0b
commit
ca64d4bc80
|
@ -434,7 +434,7 @@ static int atlas_read_raw(struct iio_dev *indio_dev,
|
|||
break;
|
||||
case IIO_ELECTRICALCONDUCTIVITY:
|
||||
*val = 1; /* 0.00001 */
|
||||
*val = 100000;
|
||||
*val2 = 100000;
|
||||
break;
|
||||
case IIO_CONCENTRATION:
|
||||
*val = 0; /* 0.000000001 */
|
||||
|
|
Loading…
Reference in New Issue