From 19bb7fc1e3f23d90f8f89d0bf76b1aebd0083230 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 28 Sep 2016 17:13:46 +0200 Subject: [PATCH] use display_clear where possible --- extmod/modtrezorui/display-stmhal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/modtrezorui/display-stmhal.h b/extmod/modtrezorui/display-stmhal.h index 95e9b9a93c..f12e2d3fd7 100644 --- a/extmod/modtrezorui/display-stmhal.h +++ b/extmod/modtrezorui/display-stmhal.h @@ -241,7 +241,7 @@ void display_init(void) { display_orientation(0); display_backlight(0); // clear buffer - display_bar(0, 0, DISPLAY_RESX, DISPLAY_RESY, 0x0000); + display_clear(); display_unsleep(); }