The "max7219" decoder used to have no constructor, which made me miss
it when reset() got introduced. Implement those two methods (which do
nothing, and thus won't change behaviour).
('warnings', 'Warnings', (ann_warning,)),
)
('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
def start(self):
self.out_ann = self.register(srd.OUTPUT_ANN)
self.pos = 0