Skip to content

Commit 0158de5

Browse files
committedOct 13, 2014
devices/corecom_dummy: fix ref_period
1 parent 74adb39 commit 0158de5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎artiq/devices/corecom_dummy.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from operator import itemgetter
2+
from fractions import Fraction
23

34
from artiq.devices.runtime import LinkInterface
4-
from artiq.language.units import ns
55

66

77
class _RuntimeEnvironment(LinkInterface):
@@ -14,7 +14,7 @@ def emit_object(self):
1414

1515
class CoreCom:
1616
def get_runtime_env(self):
17-
return _RuntimeEnvironment(10*ns)
17+
return _RuntimeEnvironment(Fraction(1, 1000000000))
1818

1919
def load(self, kcode):
2020
print("================")

0 commit comments

Comments
 (0)
Please sign in to comment.