From 608b9c03f627a9c7d8ebc485c6b74cc61a4d6875 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 11 Jan 2020 00:49:20 +0100 Subject: sdcard_sd: Replace a hardcoded number for better readability. --- decoders/sdcard_sd/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decoders/sdcard_sd/pd.py b/decoders/sdcard_sd/pd.py index 73c7262..801e084 100644 --- a/decoders/sdcard_sd/pd.py +++ b/decoders/sdcard_sd/pd.py @@ -108,7 +108,7 @@ class Decoder(srd.Decoder): self.out_ann, data) def putc(self, desc): - cmd = self.cmd + 64 if self.is_acmd else self.cmd + cmd = Ann.ACMD0 + self.cmd if self.is_acmd else self.cmd self.last_cmd = cmd self.putt([cmd, ['%s: %s' % (self.cmd_str, desc), self.cmd_str, self.cmd_str.split(' ')[0]]]) -- cgit v1.2.3-70-g09d2