Skip to content
Commit c2e47bdc authored by Wai-Hong Tam's avatar Wai-Hong Tam Committed by Fabio Baltieri
Browse files

led_strip: ws2812_spi: Optimize for 8-bit symbols with build-time check



The ws2812_spi driver supports both a fast path for 8-bit symbols and
a generic path for other sizes.

This change introduces a devicetree-based, build-time check to
determine if all enabled instances use 8-bit symbols. If so, the
generic path logic is removed from the build.

Signed-off-by: default avatarWai-Hong Tam <waihong@google.com>
parent a5bc5fa5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment