]> sigrok.org Git - libsigrokdecode.git/commit
rgb_led_ws281x: default to RGB[W] annotation text order
authorGerhard Sittig <redacted>
Sat, 29 Jul 2023 15:26:48 +0000 (17:26 +0200)
committerGerhard Sittig <redacted>
Sat, 29 Jul 2023 19:29:14 +0000 (21:29 +0200)
commite6962b3fe8260382bb9932a1cfdd7ee7090ce267
tree139944518829fe6ba0e803a278b2a46912588d65
parent3378f524a1b720cdcedb10089ad4f9bacc33cb4f
rgb_led_ws281x: default to RGB[W] annotation text order

The earlier default was "RGB" (exactly three components), and users had
to manually pick "RGBW" when white was involved. Change the default to
the automatic "RGB[W]" instead which transparently presents white when
applicable, and doesn't fail when white is not involved.
decoders/rgb_led_ws281x/pd.py