]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/rgb_led_spi/pd.py
usb_packet: Provide better short/long annotations.
[libsigrokdecode.git] / decoders / rgb_led_spi / pd.py
index b5f61b8d533c21424b2a27ce7970f6a593e1ff05..6840164793cf78ae84575e43ac047098988d30fa 100644 (file)
@@ -29,12 +29,9 @@ class Decoder(srd.Decoder):
     license = 'gplv2'
     inputs = ['spi']
     outputs = ['rgb_led_spi']
-    probes = []
-    optional_probes = []
-    options = {}
-    annotations = [
-        ['rgb', 'RGB values'],
-    ]
+    annotations = (
+        ('rgb', 'RGB values'),
+    )
 
     def __init__(self, **kwargs):
         self.cmd_ss, self.cmd_es = 0, 0