diff options
author | Bert Vermeulen <bert@biot.com> | 2012-01-09 00:12:19 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-01-09 00:12:19 +0100 |
commit | f9a3947a7a8d884de6c55693b216f89b1d27d979 (patch) | |
tree | 35b95a60d6485a6b4d56e42cef4765d7984e86ba /decoders | |
parent | 84b81f1df5a51285e55d808fdfb7968cd70711e9 (diff) | |
download | libsigrokdecode-f9a3947a7a8d884de6c55693b216f89b1d27d979.tar.gz libsigrokdecode-f9a3947a7a8d884de6c55693b216f89b1d27d979.zip |
srd: change output_new() API call to add()
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/i2c.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/i2c.py b/decoders/i2c.py index abe4d7e..f098aff 100644 --- a/decoders/i2c.py +++ b/decoders/i2c.py @@ -180,8 +180,8 @@ class Decoder(sigrokdecode.Decoder): self.oldsda = None def start(self, metadata): - self.output_protocol = self.output_new(sigrokdecode.SRD_OUTPUT_PROTOCOL, 'i2c') - self.output_annotation = self.output_new(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'i2c') + self.output_protocol = self.add(sigrokdecode.SRD_OUTPUT_PROTOCOL, 'i2c') + self.output_annotation = self.add(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'i2c') def report(self): pass |