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
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"