forked from M-Labs/artiq
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):
|
def run(self, k_function, k_args, k_kwargs):
|
||||||
self._level += 1
|
self._level += 1
|
||||||
r = k_function(*k_args, **k_kwargs)
|
r = k_function.artiq_embedded.function(*k_args, **k_kwargs)
|
||||||
self._level -= 1
|
self._level -= 1
|
||||||
if self._level == 0:
|
if self._level == 0:
|
||||||
print(time.manager.format_timeline())
|
print(time.manager.format_timeline())
|
||||||
|
|
Loading…
Reference in New Issue