1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

do not update display after each letter

This commit is contained in:
Jan Pochyla 2016-09-27 15:29:38 +02:00 committed by Pavol Rusnak
parent 4d672fee28
commit b49ae3deee
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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] >> 8);
DATA(colortable[c] & 0xFF); DATA(colortable[c] & 0xFF);
} }
display_update();
} }
px += g[2]; px += g[2];
} }
display_update();
} }
// compute the width of the text (in pixels) // compute the width of the text (in pixels)