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
1 changed files with 1 additions and 1 deletions

View File

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