From: Uwe Hermann Date: Mon, 3 Feb 2014 00:39:40 +0000 (+0100) Subject: sdcard_spi: Fix incorrect R1 reply annotation endsample. X-Git-Tag: libsigrokdecode-0.3.0~106 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=041885bd28ac983501e9de2a247f3f5bb31a0c1f;p=libsigrokdecode.git sdcard_spi: Fix incorrect R1 reply annotation endsample. --- diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py index ea1a3d7..b2312f8 100644 --- a/decoders/sdcard_spi/pd.py +++ b/decoders/sdcard_spi/pd.py @@ -333,7 +333,7 @@ class Decoder(srd.Decoder): # The R1 response token format (1 byte). # Sent by the card after every command except for SEND_STATUS. - self.cmd_ss, self.cmd_es = self.ss, self.es + self.cmd_ss, self.cmd_es = self.miso_bits[0][1], self.miso_bits[7][2] self.putx([65, ['R1: 0x%02x' % res]]) def putbit(bit, data):