]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/xfp/pd.py
Move common/ directory into decoders/.
[libsigrokdecode.git] / decoders / xfp / pd.py
index 1e971e64c057e3c1262fa5d565908acb69179868..27135e585a1c267a7990af2dc56469b9222bf1a6 100644 (file)
@@ -18,7 +18,7 @@
 ##
 
 import sigrokdecode as srd
-from plugtrx import (MODULE_ID, ALARM_THRESHOLDS, AD_READOUTS, GCS_BITS,
+from common.plugtrx import (MODULE_ID, ALARM_THRESHOLDS, AD_READOUTS, GCS_BITS,
         CONNECTOR, TRANSCEIVER, SERIAL_ENCODING, XMIT_TECH, CDR, DEVICE_TECH,
         ENHANCED_OPTS, AUX_TYPES)
 
@@ -36,7 +36,7 @@ class Decoder(srd.Decoder):
         ('fields', 'XFP structure fields'),
     )
 
-    def __init__(self, **kwargs):
+    def __init__(self):
         # Received data items, used as an index into samplenum/data
         self.cnt = -1
         # Start/end sample numbers per data item