From 0ee4dd54ce134158cd2068866ddc7d32c692d457 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sat, 7 Jan 2012 03:59:16 +0100 Subject: Decoder.output_new() now takes an extra protocol_id argument. --- decoders/i2c.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/i2c.py') 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 -- cgit v1.2.3-70-g09d2