From 2e2534585b58413794585a8ac89ce300cd542fba Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 4 Oct 2016 16:33:38 +0200 Subject: [PATCH] call ui.display.refresh in loop.py --- src/trezor/loop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/trezor/loop.py b/src/trezor/loop.py index 7094371f10..181d5df0e4 100644 --- a/src/trezor/loop.py +++ b/src/trezor/loop.py @@ -4,6 +4,7 @@ from uheapq import heappop, heappush, heapify from .utils import type_gen from . import msg from . import log +from . import ui if __debug__: # for performance stats @@ -99,6 +100,7 @@ def run_forever(): # add current delay to ring buffer for performance stats log_delay_rb[log_delay_pos] = delay log_delay_pos = (log_delay_pos + 1) % log_delay_rb_len + ui.display.refresh() message = msg.select(delay) if message: handle_message(message)