From be465111b552c7c2a2262ac49758a30a8bf1b1d5 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Thu, 14 Nov 2013 17:25:53 +0100 Subject: Use the new Decoder.register() API --- decoders/sdcard_spi/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/sdcard_spi/pd.py') diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py index 0d93d16..de3adbd 100644 --- a/decoders/sdcard_spi/pd.py +++ b/decoders/sdcard_spi/pd.py @@ -98,8 +98,8 @@ class Decoder(srd.Decoder): self.read_buf = [] def start(self): - # self.out_proto = self.add(srd.OUTPUT_PYTHON, 'sdcard_spi') - self.out_ann = self.add(srd.OUTPUT_ANN, 'sdcard_spi') + # self.out_proto = self.register(srd.OUTPUT_PYTHON) + self.out_ann = self.register(srd.OUTPUT_ANN) def report(self): pass -- cgit v1.2.3-70-g09d2