]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/rgb_led_spi/pd.py
Use consistent __init__() format across all PDs.
[libsigrokdecode.git] / decoders / rgb_led_spi / pd.py
index c6e1032fbe08487df1431f242562289b83a40a37..9a465ad066c654d4bcdb399910a51b96a57ea4b5 100644 (file)
@@ -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 = []