diff options
Diffstat (limited to 'decoders/transitioncounter.py')
-rw-r--r-- | decoders/transitioncounter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py index 6fe09bb..7ad16fd 100644 --- a/decoders/transitioncounter.py +++ b/decoders/transitioncounter.py @@ -42,8 +42,8 @@ class Decoder(sigrokdecode.Decoder): self.lastsample = None def start(self, metadata): - # self.out_proto = self.add(2) - self.out_ann = self.add(1) + # self.out_proto = self.add(sigrokdecode.SRD_OUTPUT_PROTOCOL, 'transitioncounter') + self.out_ann = self.add(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'transitioncounter') def report(self): pass |