Skip to content

Commit

Permalink
drivers: led_strip: ws2812: Remove scratch selection for non-GPIO
Browse files Browse the repository at this point in the history
The WS2812 LED strip driver does not use a scratch byte, therefore
free up a byte per pixel which was unused except in the GPIO-based
driver whereby it is used

Signed-off-by: Jamie McCrae <spam@helper3000.net>
  • Loading branch information
thedjnK authored and carlescufi committed Nov 24, 2023
1 parent e76ace4 commit 5afaa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/led_strip/Kconfig.ws2812
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

menuconfig WS2812_STRIP
bool "WS2812 (and compatible) LED strip driver"
select LED_STRIP_RGB_SCRATCH
help
Enable LED strip driver for daisy chains of WS2812-ish (or WS2812B,
WS2813, SK6812, Everlight B1414, or compatible) devices.
Expand Down Expand Up @@ -39,6 +38,7 @@ config WS2812_STRIP_GPIO
# Only an Cortex-M0 inline assembly implementation for the nRF51
# is supported currently.
depends on SOC_SERIES_NRF51X
select LED_STRIP_RGB_SCRATCH
help
The GPIO driver does bit-banging with inline assembly,
and is not available on all SoCs.
Expand Down

0 comments on commit 5afaa38

Please sign in to comment.