mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
Merge branch 'master' of https://github.com/dreamsourcelab/DSView into dev-1.3
This commit is contained in:
commit
092abdcc63
@ -189,10 +189,14 @@ class Decoder(srd.Decoder):
|
||||
|
||||
# Bit annotations.
|
||||
if self.have_miso:
|
||||
for bit in self.misobits:
|
||||
blen = len(self.misobits)
|
||||
for i in range(0, blen):
|
||||
bit = self.misobits[blen-i-1]
|
||||
self.put(bit[1], bit[2], self.out_ann, [2, ['%d' % bit[0]]])
|
||||
if self.have_mosi:
|
||||
for bit in self.mosibits:
|
||||
blen = len(self.mosibits)
|
||||
for i in range(0, blen):
|
||||
bit = self.mosibits[blen-i-1]
|
||||
self.put(bit[1], bit[2], self.out_ann, [3, ['%d' % bit[0]]])
|
||||
|
||||
# Dataword annotations.
|
||||
|
Loading…
x
Reference in New Issue
Block a user