]> sigrok.org Git - libsigrokdecode.git/commitdiff
adns5020: Minor tweak to annotation format.
authorUwe Hermann <redacted>
Tue, 30 Jun 2015 23:21:53 +0000 (01:21 +0200)
committerUwe Hermann <redacted>
Tue, 30 Jun 2015 23:21:53 +0000 (01:21 +0200)
decoders/adns5020/pd.py

index ccb83d49a387678f09f0d7e68f20bff2a992ae39..bcdb52a0c774e55854d66d7eb4189fd3240e1941 100644 (file)
@@ -106,8 +106,8 @@ class Decoder(srd.Decoder):
         if reg > 0x63:
             reg_desc = 'Unknown'
         if write:
-            self.putx([1, ['%s=>%#x' % (reg_desc, arg)]])
+            self.putx([1, ['%s%#x' % (reg_desc, arg)]])
         else:
-            self.putx([0, ['%s<=%d' % (reg_desc, arg)]])
+            self.putx([0, ['%s%d' % (reg_desc, arg)]])
 
         self.mosi_bytes = []