summaryrefslogtreecommitdiff
path: root/decoders/ds28ea00/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/ds28ea00/pd.py')
-rw-r--r--decoders/ds28ea00/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/ds28ea00/pd.py b/decoders/ds28ea00/pd.py
index 2ae9469..a792d95 100644
--- a/decoders/ds28ea00/pd.py
+++ b/decoders/ds28ea00/pd.py
@@ -48,6 +48,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.trn_beg = 0
self.trn_end = 0
self.state = 'ROM'