]> sigrok.org Git - libsigrokdecode.git/commitdiff
sdcard_sd: Use correct annotation class for R2.
authorUwe Hermann <redacted>
Fri, 10 Jan 2020 22:36:30 +0000 (23:36 +0100)
committerUwe Hermann <redacted>
Fri, 10 Jan 2020 22:36:30 +0000 (23:36 +0100)
decoders/sdcard_sd/pd.py

index d0e72d278257d7bd2d5ac6c74a3f018c6db57cdd..b6a076bfa6c03661518f4dbcadf986de3389c144 100644 (file)
@@ -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):