]> sigrok.org Git - libsigrokdecode.git/commitdiff
Fix typo in swd decoder
authorPetteri Aimonen <redacted>
Mon, 23 Feb 2015 17:47:56 +0000 (19:47 +0200)
committerUwe Hermann <redacted>
Mon, 2 Mar 2015 09:59:43 +0000 (10:59 +0100)
decoders/swd/pd.py

index f2abf1f105ef0346164d048b146f56ae41906be0..d53d1493f59d7f9e6fb867dede91a4cae71dbffa 100644 (file)
@@ -340,7 +340,7 @@ class Decoder(srd.Decoder):
                 }[self.addr]
         elif self.apdp == 'AP':
             if self.rw == 'R':
-                return 'W AP%x' % self.addr
+                return 'R AP%x' % self.addr
             elif self.rw == 'W':
                 return 'W AP%x' % self.addr