]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mlx90614/pd.py
spiflash: Handle CS# transitions, allow variable-length transfers
[libsigrokdecode.git] / decoders / mlx90614 / pd.py
index eeb2743a794e45c0adb131c2d9bbab0bfe293f7a..0a3abbaf62daf1aef006cdc285b89bb131b96f86 100644 (file)
@@ -34,7 +34,7 @@ class Decoder(srd.Decoder):
         ('kelvin', 'Temperature in Kelvin'),
     )
 
-    def __init__(self, **kwargs):
+    def __init__(self):
         self.state = 'IGNORE START REPEAT'
         self.data = []
 
@@ -73,4 +73,3 @@ class Decoder(srd.Decoder):
                 self.putx([1, ['Temperature: %3.2f K' % kelvin]])
                 self.state = 'IGNORE START REPEAT'
                 self.data = []
-