Re: [PATCH 2/3] iio: temperature: mlx90632 Read sampling frequency
From: Andy Shevchenko
Date: Fri Sep 02 2022 - 11:42:49 EST
On Fri, Sep 2, 2022 at 4:13 PM <cmo@xxxxxxxxxxx> wrote:
>
> From: Crt Mori <cmo@xxxxxxxxxxx>
>
> 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