增加数据类型转换

This commit is contained in:
2026-06-17 21:48:32 +08:00
parent 62b37bb2d9
commit 051bbaeb5f
+1 -1
View File
@@ -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