leds-ws2812b: set reset code len to 14 bytes to fix spi-dma timeout

This commit is contained in:
hanwckf 2022-12-26 17:53:48 +08:00 committed by Tianling Shen
parent df169cfdbd
commit 4e7dacadf2
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -22,7 +22,7 @@
#define WS2812B_BYTES_PER_COLOR 3
#define WS2812B_NUM_COLORS 3
/* A continuous 0 for 50us+ as the 'reset' signal */
#define WS2812B_RESET_LEN 18
#define WS2812B_RESET_LEN 14
struct ws2812b_led {
struct led_classdev_mc mc_cdev;