logic_analyzer: use read_block when dumping sample memory for performance
This commit is contained in:
parent
b4b2456afc
commit
a55962d3c0
|
|
@ -312,8 +312,7 @@ class LogicAnalyzerCore(MantaCore):
|
|||
self._fsm.wait_for_capture()
|
||||
|
||||
print(" -> Reading sample memory contents...")
|
||||
addrs = list(range(self._sample_depth))
|
||||
raw_capture = self._sample_mem.read(addrs)
|
||||
raw_capture = self._sample_mem.read_block(0, self._sample_depth)
|
||||
|
||||
# Revolve the memory around the read_pointer, such that all the beginning
|
||||
# of the capture is at the first element
|
||||
|
|
|
|||
Loading…
Reference in New Issue