From: Uwe Hermann Date: Tue, 30 Jun 2015 23:21:53 +0000 (+0200) Subject: adns5020: Minor tweak to annotation format. X-Git-Tag: libsigrokdecode-0.4.0~108 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=295b78c7d971e1abd7021d88415523ad66a3e448;p=libsigrokdecode.git adns5020: Minor tweak to annotation format. --- 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 = []