]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/rtc8564/pd.py
Move common/ directory into decoders/.
[libsigrokdecode.git] / decoders / rtc8564 / pd.py
index 258ec2781fb81a6796a71bb372cf63f5ff214bea..4ecc15a615d56eda4960ceebce7569b21c52ac4e 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 import sigrokdecode as srd
-from srdhelper import bcd2int
+from common.srdhelper import bcd2int
 
 def reg_list():
     l = []
@@ -52,7 +52,7 @@ class Decoder(srd.Decoder):
         ('date-time', 'Date/time', (9, 10)),
     )
 
-    def __init__(self, **kwargs):
+    def __init__(self):
         self.state = 'IDLE'
         self.hours = -1
         self.minutes = -1