summaryrefslogtreecommitdiff
path: root/decoders/can/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/can/pd.py')
-rw-r--r--decoders/can/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/can/pd.py b/decoders/can/pd.py
index 5be3e99..056736b 100644
--- a/decoders/can/pd.py
+++ b/decoders/can/pd.py
@@ -65,6 +65,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
self.reset_variables()