summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-04-26 17:17:30 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-05-02 20:13:28 +0200
commitee390f6741427244a43de56e6254e487eecbc530 (patch)
tree787264d413a526b4699f53ee4cf3a4afb6fdd185 /decoders
parentddc23d8cb0e9b6097cc28e6b1bf5966822939f77 (diff)
downloadlibsigrokdecode-ee390f6741427244a43de56e6254e487eecbc530.tar.gz
libsigrokdecode-ee390f6741427244a43de56e6254e487eecbc530.zip
sdcard_sd: don't interate over not implemented command
There is no handler for CMD4 yet. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'decoders')
-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 02e78d7..b544b37 100644
--- a/decoders/sdcard_sd/pd.py
+++ b/decoders/sdcard_sd/pd.py
@@ -164,7 +164,7 @@ class Decoder(srd.Decoder):
# Handle command.
s = 'ACMD' if self.is_acmd else 'CMD'
self.cmd_str = '%s%d (%s)' % (s, self.cmd, self.cmd_name(self.cmd))
- if self.cmd in (0, 2, 3, 4, 6, 7, 8, 9, 10, 13, 41, 51, 55):
+ if self.cmd in (0, 2, 3, 6, 7, 8, 9, 10, 13, 41, 51, 55):
self.state = 'HANDLE CMD%d' % self.cmd
else:
self.state = 'HANDLE CMD999'