From bea1182aca9ed0b7c6f5b390552abb301620e073 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 27 Dec 2015 11:56:01 +0800 Subject: [PATCH] sim/devices/core: adapt to _ARTIQEmbeddedInfo --- artiq/sim/devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/sim/devices.py b/artiq/sim/devices.py index 3f11c1c1e..7d1c387a3 100644 --- a/artiq/sim/devices.py +++ b/artiq/sim/devices.py @@ -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())