SiliconLabs / arduino

Arduino Core for Silicon Labs devices
86 stars 16 forks source link

Fix incorrect behaviour of ezWS2812 brightness #63

Open sebromero opened 5 months ago

sebromero commented 5 months ago

There is a bug in the current version of the WS2812 driver that would cause an incorrect color value when the brightness is set to 0. The edge case of brightness == 0 was handled, but the values were not assigned to the array correctly.

sebromero commented 5 months ago

@silabs-bozont 🙏

silabs-bozont commented 4 months ago

Hello @sebromero, Thank you, nice finding! Unfortunately we don't have the community contributions set up yet - is it okay if I fix it in the upstream without your PR?

sebromero commented 4 months ago

Hi @silabs-bozont ! Sure, no worries. Feel free to patch it upstream :-)