summaryrefslogtreecommitdiff
path: root/decoders/xfp
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/xfp')
-rw-r--r--decoders/xfp/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py
index fcadab9..0bc6724 100644
--- a/decoders/xfp/pd.py
+++ b/decoders/xfp/pd.py
@@ -37,6 +37,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
# Received data items, used as an index into samplenum/data
self.cnt = -1
# Start/end sample numbers per data item