summaryrefslogtreecommitdiff
path: root/decoders/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/i2c')
-rw-r--r--decoders/i2c/pd.py2
1 files changed, 1 insertions, 1 deletions
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'))