On Sat, Jun 22, 2024 at 9:05 AM Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote: > Instead of rescaling current or voltage channels after the fact, use the > dedicated scaling API. This should reduce any inaccuracies resulting from > the scaling. > > This is also slightly more efficient as it saves a function call and a > multiplication. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Very nice! Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij