Re: [PATCH] iio: humidity: hdc3020: add threshold events support

From: Dimitri Fedrau
Date: Sat Feb 03 2024 - 09:42:21 EST


Am Sat, Feb 03, 2024 at 10:30:09AM +0100 schrieb Javier Carrasco:
> Hi Dimitri,
>
Hi Javier,

> > + /* Supported temperature range is from –40 to 125 degree celsius */
> Should that not be val < -40?
yes, you are right. Will fix it.
> > + if (val < -45 || val > 125)
> > + return -EINVAL;
> > +

Best regards,
Dimitri