]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/t55xx/pd.py
Use consistent __init__() format across all PDs.
[libsigrokdecode.git] / decoders / t55xx / pd.py
index 87ebeba7adb865ea49124fd05f792957c88867a3..57838f0b768ab14c50153025e01ce5a49a0de45e 100644 (file)
@@ -5,8 +5,8 @@
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either data 2 of the License, or
-## (at your option) any later data.
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
 ##
 ## This program is distributed in the hope that it will be useful,
 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -66,7 +66,7 @@ class Decoder(srd.Decoder):
         ('decode', 'Decode', (10,)),
     )
 
-    def __init__(self, **kwargs):
+    def __init__(self):
         self.samplerate = None
         self.oldpin = None
         self.last_samplenum = None