From 7cf79452a87317fe79895302e86ef016b1173ac8 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 10 Jan 2012 02:16:53 +0100 Subject: srd: self.add: Use sigrokdecode.SRD_OUTPUT_*. --- decoders/mx25lxx05d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/mx25lxx05d.py') diff --git a/decoders/mx25lxx05d.py b/decoders/mx25lxx05d.py index 978f1b6..7ffbfc1 100644 --- a/decoders/mx25lxx05d.py +++ b/decoders/mx25lxx05d.py @@ -179,8 +179,8 @@ class Decoder(sigrokdecode.Decoder): self.out = [] 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, 'mx25lxx05d') + self.out_ann = self.add(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'mx25lxx05d') def report(self): pass -- cgit v1.2.3-70-g09d2