From 2fd89a85c4a1131ca259d794a43b26b8bd84b6a0 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 10 Jan 2012 02:06:31 +0100 Subject: srd: s/output_new/add/ for all decoders. --- decoders/transitioncounter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/transitioncounter.py') diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py index 5a6d140..2847abc 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.output_protocol = self.output_new(2) - self.output_annotation = self.output_new(1) + # self.output_protocol = self.add(2) + self.output_annotation = self.add(1) def report(self): pass -- cgit v1.2.3-70-g09d2