diff --git a/core/embed/bootloader/bootui.c b/core/embed/bootloader/bootui.c index 354cac698..37dd78ee6 100644 --- a/core/embed/bootloader/bootui.c +++ b/core/embed/bootloader/bootui.c @@ -19,7 +19,6 @@ #include - #include "bootui.h" #include "display.h" #include "icon_cancel.h" @@ -36,7 +35,6 @@ #include "touch.h" #include "version.h" - #define BACKLIGHT_NORMAL 150 #define COLOR_BL_FAIL RGB16(0xFF, 0x00, 0x00) // red diff --git a/core/embed/bootloader/main.c b/core/embed/bootloader/main.c index adccffd7c..53bc73bd3 100644 --- a/core/embed/bootloader/main.c +++ b/core/embed/bootloader/main.c @@ -312,7 +312,6 @@ int main(void) { // ... or if user touched the screen on start // ... or we have stay_in_bootloader flag to force it if (touched || stay_in_bootloader == sectrue) { - // no ui_fadeout(); - we already start from black screen ui_screen_info(secfalse, &vhdr, &hdr); ui_fadein(); diff --git a/core/embed/extmod/modtrezorui/display-unix.h b/core/embed/extmod/modtrezorui/display-unix.h index 0383c45f7..2316ea858 100644 --- a/core/embed/extmod/modtrezorui/display-unix.h +++ b/core/embed/extmod/modtrezorui/display-unix.h @@ -94,7 +94,7 @@ void PIXELDATA(uint16_t c) { } } -void display_init_seq(void) { } +void display_init_seq(void) {} void display_init(void) { if (SDL_Init(SDL_INIT_VIDEO) != 0) {