sim/devices/core: adapt to _ARTIQEmbeddedInfo

This commit is contained in:
Sebastien Bourdeauducq 2015-12-27 11:56:01 +08:00
parent b5253e1353
commit bea1182aca

View File

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