summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-02-03 01:39:40 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-02-09 19:38:21 +0100
commit041885bd28ac983501e9de2a247f3f5bb31a0c1f (patch)
treec2f95b51d691e034ecb21202da050cdbe3edef0e /decoders
parent49176fecb4ab0c7a2474d50ff98a6f105c2a638f (diff)
downloadlibsigrokdecode-041885bd28ac983501e9de2a247f3f5bb31a0c1f.tar.gz
libsigrokdecode-041885bd28ac983501e9de2a247f3f5bb31a0c1f.zip
sdcard_spi: Fix incorrect R1 reply annotation endsample.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/sdcard_spi/pd.py2
1 files changed, 1 insertions, 1 deletions
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):