Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit b47c0fe

Browse files
vamoiridjic23
authored andcommitted
iio: chemical: bme680: Fix calibration data variable
According to the BME68x Sensor API [1], the h6 calibration data variable should be an unsigned integer of size 8. [1]: https://github.com/boschsensortec/BME68x_SensorAPI/blob/v4.4.8/bme68x_defs.h#L789 Fixes: 1b3bd85 ("iio: chemical: Add support for Bosch BME680 sensor") Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com> Link: https://lore.kernel.org/r/20240606212313.207550-3-vassilisamir@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent ae1f7b9 commit b47c0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/chemical/bme680_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct bme680_calib {
3838
s8 par_h3;
3939
s8 par_h4;
4040
s8 par_h5;
41-
s8 par_h6;
41+
u8 par_h6;
4242
s8 par_h7;
4343
s8 par_gh1;
4444
s16 par_gh2;

0 commit comments

Comments
 (0)