X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Frgb_led_spi%2Fpd.py;h=9a465ad066c654d4bcdb399910a51b96a57ea4b5;hp=c6e1032fbe08487df1431f242562289b83a40a37;hb=92b7b49f6964f57a7d6fc4473645c993cfa4ba52;hpb=a7c8dc5e3a2b7ad38eb03a958180f97f3059ea31 diff --git a/decoders/rgb_led_spi/pd.py b/decoders/rgb_led_spi/pd.py index c6e1032..9a465ad 100644 --- a/decoders/rgb_led_spi/pd.py +++ b/decoders/rgb_led_spi/pd.py @@ -26,14 +26,14 @@ class Decoder(srd.Decoder): name = 'RGB LED (SPI)' longname = 'RGB LED string decoder (SPI)' desc = 'RGB LED string protocol (RGB values clocked over SPI).' - license = 'gplv2' + license = 'gplv2+' inputs = ['spi'] outputs = ['rgb_led_spi'] annotations = ( ('rgb', 'RGB values'), ) - def __init__(self, **kwargs): + def __init__(self): self.ss_cmd, self.es_cmd = 0, 0 self.mosi_bytes = []