mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
loop: fix unschedule
This commit is contained in:
parent
01ba81f041
commit
3483c149a5
@ -46,9 +46,9 @@ def unschedule(task):
|
||||
queue_copy = utimeq.utimeq(_QUEUE_SIZE)
|
||||
while _queue:
|
||||
_queue.pop(task_entry)
|
||||
t, v, d = task_entry
|
||||
d, t, v = task_entry
|
||||
if t is not task:
|
||||
queue_copy.push(t, v, d)
|
||||
queue_copy.push(d, t, v)
|
||||
_queue = queue_copy
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user