Re: [PATCH v6 4/9] iio: pressure: bmp280: Use unsigned data types for raw sensor data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed,  8 May 2024 18:52:02 +0200
Vasileios Amoiridis <vassilisamir@xxxxxxxxx> wrote:

> The raw sensor data that have not been compensated yet cannot be
> signed values, so use unsigned ones. Also, compensated pressure
> values cannot be negative so use unsigned also there.
> 
> Also, drop redundant cast of data->t_fine variable from s32 to s32.
> 
> Signed-off-by: Vasileios Amoiridis <vassilisamir@xxxxxxxxx>
Looks good to me.

Applied.





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux