Re: [PATCH 2/2] iio: imu: st_lsm6dsx: Decouple sensor ODR from FIFO batch data rate

Andy Shevchenko
2025-10-18T17:34:54Z

On Fri, Oct 10, 2025 at 08:44:50PM +0200, Francesco Lavra wrote:
> On Fri, 2025-10-10 at 17:55 +0300, Andy Shevchenko wrote:
> > On Thu, Oct 9, 2025 at 8:36 PM Francesco Lavra <flavra@baylibre.com>
> > wrote:

...

> > > +       ret = iio_str_to_fixpoint(buf, 100, &integer, &fract);
> > > +       if (ret)
> > > +               return ret;
> > > +       bdr = integer * 1000 + fract;
> >
> > MILLI?
>
> If you mean replacing fract with milli, will do.

I meant 1000 --> MILLI(?) or whatever SI prefix suits better?

--
With Best Regards,
Andy Shevchenko