libdriver / ws2812b

WS2812B full function driver library for general MCU and Linux.
https://www.libdriver.com
MIT License
195 stars 46 forks source link

If led count > 21 leds over 21 are not reset #23

Open aleksas opened 1 year ago

aleksas commented 1 year ago

Following line is references hardcoded value relating to 21 leds. If more leds are operated leds over 21 are not reset. Should be value dependant on led count. https://github.com/hepingood/ws2812b/blob/84adf5dba5e46c66c2113dd92d5f45167b42b090/src/driver_ws2812b.c#L206

libdriver commented 1 year ago

Thank you very much for your suggestion. We have fixed the issue and you can pull it again.