summaryrefslogtreecommitdiff
path: root/decoders/spi.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-10 02:06:31 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-10 02:06:31 +0100
commit2fd89a85c4a1131ca259d794a43b26b8bd84b6a0 (patch)
tree9f0a6eb2e673f8bccaf64a6aabe5ac610858b3b3 /decoders/spi.py
parent7ce7775cb5a4e97264df62f43315d32504602072 (diff)
downloadlibsigrokdecode-2fd89a85c4a1131ca259d794a43b26b8bd84b6a0.tar.gz
libsigrokdecode-2fd89a85c4a1131ca259d794a43b26b8bd84b6a0.zip
srd: s/output_new/add/ for all decoders.
Diffstat (limited to 'decoders/spi.py')
-rw-r--r--decoders/spi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/spi.py b/decoders/spi.py
index 2c7445f..8c62cde 100644
--- a/decoders/spi.py
+++ b/decoders/spi.py
@@ -46,8 +46,8 @@ class Decoder(sigrokdecode.Decoder):
self.output_annotation = None
def start(self, metadata):
- # self.output_protocol = self.output_new(2)
- self.output_annotation = self.output_new(1)
+ # self.output_protocol = self.add(2)
+ self.output_annotation = self.add(1)
def report(self):
return 'SPI: %d bytes received' % self.bytesreceived