From: Wolfram Sang Date: Fri, 12 May 2017 11:58:27 +0000 (+0200) Subject: sdcard_sd: output CMD8 in cmd8-handler X-Git-Tag: libsigrokdecode-0.5.0~21 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1cf5aeaf84f230fa13aa894f6bd719af42657169;p=libsigrokdecode.git sdcard_sd: output CMD8 in cmd8-handler Probably a typo, currently 'cmd0' gets pushed out. Signed-off-by: Wolfram Sang --- 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).