X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Ftransitioncounter.py;h=40fa3a899041420269d91e4f156c8a3dc3c1697f;hp=eaf87389e16908c3c621b8a2a2c36372e34b83d1;hb=9a12a6e7af3d7091d8e35dd1c731402cb80a01b0;hpb=677d597b072c0a1d2df81c5c193cd3678aef8d03 diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py index eaf8738..40fa3a8 100644 --- a/decoders/transitioncounter.py +++ b/decoders/transitioncounter.py @@ -31,19 +31,17 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['logic'] outputs = ['transitioncounts'] - probes = [ - ] # TODO? + probes = [] options = {} + annotations = [] def __init__(self, **kwargs): - self.out_proto = None - self.out_ann = None self.channels = -1 self.lastsample = None def start(self, metadata): - # self.out_proto = self.add(srd.SRD_OUTPUT_PROTO, 'transitioncounter') - self.out_ann = self.add(srd.SRD_OUTPUT_ANN, 'transitioncounter') + # self.out_proto = self.add(srd.OUTPUT_PROTO, 'transitioncounter') + self.out_ann = self.add(srd.OUTPUT_ANN, 'transitioncounter') def report(self): pass