summaryrefslogtreecommitdiff
path: root/decoders/sdcard_sd/pd.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-05-12 13:58:27 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-05-13 16:16:30 +0200
commit1cf5aeaf84f230fa13aa894f6bd719af42657169 (patch)
tree1ca8fd72e4da253d8b8c2c3f9c798bc4cf91d681 /decoders/sdcard_sd/pd.py
parente6282a1ad7c7f15e52341c9323b17b59827ed4e8 (diff)
downloadlibsigrokdecode-1cf5aeaf84f230fa13aa894f6bd719af42657169.tar.gz
libsigrokdecode-1cf5aeaf84f230fa13aa894f6bd719af42657169.zip
sdcard_sd: output CMD8 in cmd8-handler
Probably a typo, currently 'cmd0' gets pushed out. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'decoders/sdcard_sd/pd.py')
-rw-r--r--decoders/sdcard_sd/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/sdcard_sd/pd.py b/decoders/sdcard_sd/pd.py
index 7e486fe..2d88096 100644
--- a/decoders/sdcard_sd/pd.py
+++ b/decoders/sdcard_sd/pd.py
@@ -198,7 +198,7 @@ class Decoder(srd.Decoder):
self.puta(12, 31, [136, ['Reserved', 'Res', 'R']])
self.puta(8, 11, [136, ['Supply voltage', 'Voltage', 'VHS', 'V']])
self.puta(0, 7, [136, ['Check pattern', 'Check pat', 'Check', 'C']])
- self.putc(0, 'Send interface condition to card')
+ self.putc(8, 'Send interface condition to card')
self.token, self.state = [], 'GET RESPONSE R7'
# TODO: Handle case when card doesn't reply with R7 (no reply at all).