software/dump/sigrok: add limitation to 8 bits, will be fixed later
This commit is contained in:
parent
2048acf80e
commit
d8649fca5f
|
@ -40,6 +40,8 @@ samplerate = {} KHz
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
def write_data(self):
|
def write_data(self):
|
||||||
|
# TODO: study bytes/bits ordering to remove limitation
|
||||||
|
assert len(self.variables) < 8
|
||||||
data_bits = math.ceil(len(self.variables)/8)*8
|
data_bits = math.ceil(len(self.variables)/8)*8
|
||||||
data_len = 0
|
data_len = 0
|
||||||
for variable in self.variables:
|
for variable in self.variables:
|
||||||
|
|
Loading…
Reference in New Issue