summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-07-01 01:21:53 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-07-01 01:21:53 +0200
commit295b78c7d971e1abd7021d88415523ad66a3e448 (patch)
tree763097cb506b40529102e23b894d971e9411f1fd
parent07505b2a1a31759f90f9e7e2bfee5d75d4b1b729 (diff)
downloadlibsigrokdecode-295b78c7d971e1abd7021d88415523ad66a3e448.tar.gz
libsigrokdecode-295b78c7d971e1abd7021d88415523ad66a3e448.zip
adns5020: Minor tweak to annotation format.
-rw-r--r--decoders/adns5020/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/adns5020/pd.py b/decoders/adns5020/pd.py
index ccb83d4..bcdb52a 100644
--- a/decoders/adns5020/pd.py
+++ b/decoders/adns5020/pd.py
@@ -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 = []