From: Uwe Hermann Date: Sun, 23 Feb 2014 17:30:01 +0000 (+0100) Subject: rgb_led_spi: Shorten name/description (drop "mode"). X-Git-Tag: libsigrokdecode-0.3.0~83 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e85b0440b9b50b8eac7f1b04d0108cbb77bcdb02;p=libsigrokdecode.git rgb_led_spi: Shorten name/description (drop "mode"). In the 'sdcard_spi' PD/case the SD spec specifically differentiates between a so-called "SPI mode" and "SD mode" (both being well-defined terms from the spec), thus the "SPI mode" in the name and description of that PD. For 'rgb_led_spi' however there's no such distinction for "modes" really, so shorten the name/description to just 'RGB LED (SPI)'. --- diff --git a/decoders/rgb_led_spi/pd.py b/decoders/rgb_led_spi/pd.py index 44c1837..b5f61b8 100644 --- a/decoders/rgb_led_spi/pd.py +++ b/decoders/rgb_led_spi/pd.py @@ -23,8 +23,8 @@ import sigrokdecode as srd class Decoder(srd.Decoder): api_version = 1 id = 'rgb_led_spi' - name = 'RGB LED (SPI mode)' - longname = 'RGB LED string decoder (SPI mode)' + name = 'RGB LED (SPI)' + longname = 'RGB LED string decoder (SPI)' desc = 'Generic RGB LED string protocol (RGB values clocked over SPI).' license = 'gplv2' inputs = ['spi']