Fix typo in swd decoder
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Mon, 23 Feb 2015 17:47:56 +0000 (19:47 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
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