summaryrefslogtreecommitdiff
path: root/decoders/ddc.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-11 00:52:54 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-12 01:47:51 +0100
commit56202222ed83ff030239bb23be8296574674c4f7 (patch)
tree952f2f85abdf674933f84c4e7c2bc5b1ed18ef8c /decoders/ddc.py
parentd0e93c76e381eff58ca23949301f781b24ba4a8b (diff)
downloadlibsigrokdecode-56202222ed83ff030239bb23be8296574674c4f7.tar.gz
libsigrokdecode-56202222ed83ff030239bb23be8296574674c4f7.zip
srd: Drop duplicate SRD_ prefix from ANN/PROTO.
Using srd.SRD_OUTPUT_ANN is unneeded, srd.OUTPUT_ANN is better/shorter.
Diffstat (limited to 'decoders/ddc.py')
-rw-r--r--decoders/ddc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/ddc.py b/decoders/ddc.py
index a628565..36d5c4a 100644
--- a/decoders/ddc.py
+++ b/decoders/ddc.py
@@ -45,7 +45,7 @@ class Decoder(srd.Decoder):
self.state = None
def start(self, metadata):
- self.out_ann = self.add(srd.SRD_OUTPUT_ANN, 'ddc')
+ self.out_ann = self.add(srd.OUTPUT_ANN, 'ddc')
def decode(self, start_sample, end_sample, i2c_data):
try: