mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
sim/devices/core: adapt to _ARTIQEmbeddedInfo
This commit is contained in:
parent
b5253e1353
commit
bea1182aca
@ -12,7 +12,7 @@ class Core:
|
||||
|
||||
def run(self, k_function, k_args, k_kwargs):
|
||||
self._level += 1
|
||||
r = k_function(*k_args, **k_kwargs)
|
||||
r = k_function.artiq_embedded.function(*k_args, **k_kwargs)
|
||||
self._level -= 1
|
||||
if self._level == 0:
|
||||
print(time.manager.format_timeline())
|
||||
|
Loading…
Reference in New Issue
Block a user