diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/printer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/printer.py b/bin/printer.py index 135e220..04c9865 100644 --- a/bin/printer.py +++ b/bin/printer.py @@ -814,7 +814,7 @@ class Printer: # Now, iterate all living processes and try to find one that owns the # calculated address. if self._sim.lib.sal_mem_is_address_valid(address): - for proc_id in range(self._sim.lib.sal_proc_get_count()): + for proc_id in range(self._sim.lib.sal_proc_get_capacity()): if not self._sim.lib.sal_proc_is_free(proc_id): proc_data = (c_uint32 * len(self._proc_elements))() self._sim.lib.sal_proc_get_proc_data(proc_id, cast( |