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:
parent
7c2ad210e6
commit
32c7782d89
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user