acassis commented on code in PR #11428:
URL: https://github.com/apache/nuttx/pull/11428#discussion_r1435064219


##########
drivers/leds/ws2812.c:
##########
@@ -55,15 +55,7 @@
  * Pre-processor Definitions
  ****************************************************************************/
 
-#ifdef WS2812_HAS_WHITE
-#  define WS2812_RW_PIXEL_SIZE  4
-#else 
-#  define WS2812_RW_PIXEL_SIZE  3
-#endif
-
-#ifdef CONFIG_WS2812_NON_SPI_DRIVER
-
-#else /* CONFIG_WS2812_NON_SPI_DRIVER */

Review Comment:
   @tmedicci I think there are some models of WS2812 that doesn't have WHITE 
LED, so instead of using 32-bit it uses 24-bit.
   
   @vbenso could you please confirm/verify?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to