增加数据类型转换
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ class Decoder(srd.Decoder):
|
||||
self.put(bit[1], bit[2], self.out_ann, [0, ['%d' % bit[0]]])
|
||||
|
||||
|
||||
self.put(self.ss, self.es, self.out_ann, [8, ['%d' % d]])
|
||||
self.put(self.ss, self.es, self.out_ann, [8, ['{$}', d]])
|
||||
self.putx([proto[cmd][0], proto[cmd][1:]])
|
||||
# Done with this packet.
|
||||
self.bitcount = self.databyte = 0
|
||||
|
||||
Reference in New Issue
Block a user