Messages in this thread | | | From | Andy Shevchenko <> | Date | Fri, 2 Sep 2022 18:30:06 +0300 | Subject | Re: [PATCH 2/3] iio: temperature: mlx90632 Read sampling frequency |
| |
On Fri, Sep 2, 2022 at 4:13 PM <cmo@melexis.com> wrote: > > From: Crt Mori <cmo@melexis.com> > > Allow user to read sensor sampling frequency to better plan the
the user ...or... users
> application measurement requests.
...
> + int ret; > + unsigned int meas1;
Reversed xmas tree order?
...
> +static const int mlx90632_freqs[8][2] = { {0, 500000}, {1, 0}, {2, 0}, {4, 0}, > + {8, 0}, {16, 0}, {32, 0}, {64, 0} };
Can we use better indentation? Also one of the sizes in the definition can be dropped.
-- With Best Regards, Andy Shevchenko
| |