summaryrefslogtreecommitdiff
path: root/decoders/mx25lxx05d.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-10 02:16:53 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-10 02:16:53 +0100
commit7cf79452a87317fe79895302e86ef016b1173ac8 (patch)
tree31d293f5336359cf165e567c80b72a58b44117d6 /decoders/mx25lxx05d.py
parentc9b24fc3d2f8c84338f07239edc1d4850164ae0c (diff)
downloadlibsigrokdecode-7cf79452a87317fe79895302e86ef016b1173ac8.tar.gz
libsigrokdecode-7cf79452a87317fe79895302e86ef016b1173ac8.zip
srd: self.add: Use sigrokdecode.SRD_OUTPUT_*.
Diffstat (limited to 'decoders/mx25lxx05d.py')
-rw-r--r--decoders/mx25lxx05d.py4
1 files changed, 2 insertions, 2 deletions
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