summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoders/max7219/pd.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/decoders/max7219/pd.py b/decoders/max7219/pd.py
index 76b9b1c..c8e99e1 100644
--- a/decoders/max7219/pd.py
+++ b/decoders/max7219/pd.py
@@ -59,6 +59,12 @@ class Decoder(srd.Decoder):
('warnings', 'Warnings', (ann_warning,)),
)
+ def __init__(self):
+ self.reset()
+
+ def reset(self):
+ pass
+
def start(self):
self.out_ann = self.register(srd.OUTPUT_ANN)
self.pos = 0