1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-01 20:08:26 +00:00

sleep -> Sleep

This commit is contained in:
Jan Pochyla 2016-05-12 21:23:09 +02:00 committed by Pavol Rusnak
parent 7c2ad210e6
commit 32c7782d89
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -52,4 +52,4 @@ def animate_pulse(func, ca, cb, speed=200000, delay=30000):
y = 0.5 + 0.5 * math.sin(utime.ticks_us() / speed) y = 0.5 + 0.5 * math.sin(utime.ticks_us() / speed)
c = blend(ca, cb, y) c = blend(ca, cb, y)
func(c) func(c)
yield loop.sleep(delay) yield loop.Sleep(delay)