From b49ae3deee01d30379b1b714c3d3a4732eb02049 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 27 Sep 2016 15:29:38 +0200 Subject: [PATCH] do not update display after each letter --- extmod/modtrezorui/display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extmod/modtrezorui/display.c b/extmod/modtrezorui/display.c index d6511a6b..8ecdb5a8 100644 --- a/extmod/modtrezorui/display.c +++ b/extmod/modtrezorui/display.c @@ -207,10 +207,11 @@ void display_text(uint8_t x, uint8_t y, const char *text, int textlen, uint8_t f DATA(colortable[c] >> 8); DATA(colortable[c] & 0xFF); } - display_update(); } px += g[2]; } + + display_update(); } // compute the width of the text (in pixels)