2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

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

View File

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