logic_analyzer: use read_block when dumping sample memory for performance

This commit is contained in:
Fischer Moseley 2026-01-19 11:19:10 -07:00
parent b4b2456afc
commit a55962d3c0
1 changed files with 1 additions and 2 deletions

View File

@ -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