[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250427133756.790a19fb@jic23-huawei>
Date: Sun, 27 Apr 2025 13:37:56 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Lothar Rubusch <l.rubusch@...il.com>
Cc: lars@...afoo.de, Michael.Hennerich@...log.com,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
eraretuya@...il.com
Subject: Re: [PATCH v7 07/11] iio: accel: adxl345: add g-range configuration
On Mon, 21 Apr 2025 22:06:37 +0000
Lothar Rubusch <l.rubusch@...il.com> wrote:
> Introduce a mechanism to be able to configure and work with the available
> g-ranges keeping the precision of 13 digits.
>
> Signed-off-by: Lothar Rubusch <l.rubusch@...il.com>
> +
> +/* scaling */
> +static const int adxl345_range_factor_tbl[] = {
> + [ADXL345_2G_RANGE] = 1,
> + [ADXL345_4G_RANGE] = 2,
> + [ADXL345_8G_RANGE] = 4,
> + [ADXL345_16G_RANGE] = 8,
This isn't used for a few more patches... I moved it whilst applying
> +};
> +
Powered by blists - more mailing lists