From: Uwe Hermann Date: Fri, 10 Jan 2020 22:36:30 +0000 (+0100) Subject: sdcard_sd: Use correct annotation class for R2. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4437df0c3bdd3c5650d02624f7d0431f82f24362;p=libsigrokdecode.git sdcard_sd: Use correct annotation class for R2. --- diff --git a/decoders/sdcard_sd/pd.py b/decoders/sdcard_sd/pd.py index d0e72d2..b6a076b 100644 --- a/decoders/sdcard_sd/pd.py +++ b/decoders/sdcard_sd/pd.py @@ -346,7 +346,7 @@ class Decoder(srd.Decoder): self.putf(8, 134, [Ann.F_ARG, ['Argument', 'Arg', 'A']]) self.putf(135, 135, [Ann.F_END, ['End bit', 'End', 'E']]) self.putf(8, 134, [Ann.DECODED_F, ['CID/CSD register', 'CID/CSD', 'C']]) - self.putf(0, 135, [55, ['R2']]) + self.putf(0, 135, [Ann.R2, ['R2']]) self.token, self.state = [], St.GET_COMMAND_TOKEN def handle_response_r3(self, cmd):