diff options
author | Bert Vermeulen <bert@biot.com> | 2012-01-07 03:59:16 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-01-07 03:59:16 +0100 |
commit | 0ee4dd54ce134158cd2068866ddc7d32c692d457 (patch) | |
tree | 55d1f6f9bc8a27e0341b55bd74b18a26b7edc7da /decoders/i2c.py | |
parent | f9afa08467a7a11317f0e40145091a5945a54eda (diff) | |
download | libsigrokdecode-0ee4dd54ce134158cd2068866ddc7d32c692d457.tar.gz libsigrokdecode-0ee4dd54ce134158cd2068866ddc7d32c692d457.zip |
Decoder.output_new() now takes an extra protocol_id argument.
Diffstat (limited to 'decoders/i2c.py')
-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 0f554f7..23b12c3 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(1) - self.output_annotation = self.output_new(0) + self.output_protocol = self.output_new(1, 'i2c') + self.output_annotation = self.output_new(0, 'i2c') def report(self): pass |