Commit 5afaa38e authored by Jamie McCrae's avatar Jamie McCrae Committed by Carles Cufi
Browse files

drivers: led_strip: ws2812: Remove scratch selection for non-GPIO



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: default avatarJamie McCrae <spam@helper3000.net>
parent e76ace46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
@@ -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.