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