diff options
Diffstat (limited to 'decoders/gpib')
-rw-r--r-- | decoders/gpib/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/gpib/pd.py b/decoders/gpib/pd.py index 01801bc..d131cb9 100644 --- a/decoders/gpib/pd.py +++ b/decoders/gpib/pd.py @@ -61,6 +61,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.items = [] self.itemcount = 0 self.saved_item = None |