summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):