From ee390f6741427244a43de56e6254e487eecbc530 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Wed, 26 Apr 2017 17:17:30 +0200 Subject: sdcard_sd: don't interate over not implemented command There is no handler for CMD4 yet. Signed-off-by: Wolfram Sang --- decoders/sdcard_sd/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/sdcard_sd') 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' -- cgit v1.2.3-70-g09d2