summaryrefslogtreecommitdiff
path: root/decoders/iec/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/iec/pd.py')
-rw-r--r--decoders/iec/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/iec/pd.py b/decoders/iec/pd.py
index 0b34391..06fdc7a 100644
--- a/decoders/iec/pd.py
+++ b/decoders/iec/pd.py
@@ -55,6 +55,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.saved_ATN = False
self.saved_EOI = False
self.ss_item = self.es_item = None