forked from M-Labs/artiq
1
0
Fork 0

examples/time_test: RPC does not support int64 yet, cast to int

This commit is contained in:
Sebastien Bourdeauducq 2014-08-18 23:12:19 +08:00
parent b3b61d8b6b
commit 3a6bed43e6
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@ class DummyPulse(AutoContext):
@kernel @kernel
def pulse(self, f, duration): def pulse(self, f, duration):
self.print_on(now(), f) self.print_on(int(now()), f)
delay(duration) delay(duration)
self.print_off(now()) self.print_off(int(now()))
class TimeTest(AutoContext): class TimeTest(AutoContext):
parameters = "a b c d" parameters = "a b c d"