diff --git a/src/lib/const_delay.py b/src/lib/const_delay.py index 0e68e80f45..087ed7f0cf 100644 --- a/src/lib/const_delay.py +++ b/src/lib/const_delay.py @@ -1,4 +1,3 @@ -from trezor.loop import Sleep import utime class ConstDelay: @@ -10,4 +9,4 @@ class ConstDelay: # FIXME - use loop.call_at instead of call_later to avoid multiple time handling delay = 2 * self.delay - (utime.ticks_us() - self.last_run) self.last_run = utime.ticks_us() - return Sleep(delay) + return delay