From be6733ca41275b59a5e240ff104f2a16ad3828d3 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 13 Dec 2013 11:51:41 +0100 Subject: i2c: Avoid obsolete method. --- decoders/i2c/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/i2c') diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py index ff76973..6c505e0 100644 --- a/decoders/i2c/pd.py +++ b/decoders/i2c/pd.py @@ -121,7 +121,7 @@ class Decoder(srd.Decoder): def start(self): self.out_proto = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) - self.out_binary = self.add(srd.OUTPUT_BINARY) + self.out_binary = self.register(srd.OUTPUT_BINARY) self.out_bitrate = self.register(srd.OUTPUT_META, meta=(int, 'Bitrate', 'Bitrate from Start bit to Stop bit')) -- cgit v1.2.3-70-g09d2