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:
parent
b3b61d8b6b
commit
3a6bed43e6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user