diff options
Diffstat (limited to 'decoders/xfp/pd.py')
-rw-r--r-- | decoders/xfp/pd.py | 3 |
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 |