summaryrefslogtreecommitdiff
path: root/decoders/tca6408a
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/tca6408a')
-rw-r--r--decoders/tca6408a/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/tca6408a/pd.py b/decoders/tca6408a/pd.py
index 73de1b9..0e60767 100644
--- a/decoders/tca6408a/pd.py
+++ b/decoders/tca6408a/pd.py
@@ -41,6 +41,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.state = 'IDLE'
self.chip = -1