summaryrefslogtreecommitdiff
path: root/decoders/arm_etmv3/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/arm_etmv3/pd.py')
-rw-r--r--decoders/arm_etmv3/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/arm_etmv3/pd.py b/decoders/arm_etmv3/pd.py
index 8a2a8bb..8de3ce2 100644
--- a/decoders/arm_etmv3/pd.py
+++ b/decoders/arm_etmv3/pd.py
@@ -170,6 +170,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.buf = []
self.syncbuf = []
self.prevsample = 0