]> sigrok.org Git - libsigrokdecode.git/commitdiff
sdcard_sd: output CMD8 in cmd8-handler
authorWolfram Sang <redacted>
Fri, 12 May 2017 11:58:27 +0000 (13:58 +0200)
committerUwe Hermann <redacted>
Sat, 13 May 2017 14:16:30 +0000 (16:16 +0200)
Probably a typo, currently 'cmd0' gets pushed out.

Signed-off-by: Wolfram Sang <redacted>
decoders/sdcard_sd/pd.py

index 7e486fed818a456c448d122484ea7b2017fe3643..2d880968a842badc7838d59b64736dbe12e70095 100644 (file)
@@ -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).