Skip to content
Commit ef8e3256 authored by Mikkel Jakobsen's avatar Mikkel Jakobsen Committed by Henrik Brix Andersen
Browse files

drivers: led_strip: tlc5971: fix brightness control bit shifting



The lower bits of the brightness control registers were erroneously
shifted even though FIELD_PREP already does the shifting. In practice,
the effect is negliglible but of course should be fixed.

Also add missing parenthesis around shifting operations to satisy static
analysis.

Signed-off-by: default avatarMikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
parent 019b81a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment