bootloader: fix build

This commit is contained in:
Pavol Rusnak 2016-10-20 15:25:26 +02:00
parent 688d293b01
commit 815f0057dd
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ INC += -I../extmod/modtrezorui
SRC_MOD += $(addprefix extmod/modtrezorui/,\
display.c \
inflate.c \
font_robotomono_regular.c \
font_robotomono_regular_20.c \
)
endif

View File

@ -29,7 +29,7 @@ void screen_upload_progress(int permil)
char *plabel = label;
// TODO: convert permil -> plabel
display_text_center(120, 192 + 32, "Uploading firmware", -1, FONT_NORMAL, ui_WHITE, ui_BLACK);
display_loader(permil, ui_BLUE, ui_BLACK, 0, 0, 0);
display_loader(permil, 0, ui_BLUE, ui_BLACK, 0, 0, 0);
display_text_center(120, 192 / 2 + 14 / 2, plabel, -1, FONT_BOLD, ui_WHITE, ui_BLACK);
display_refresh();
}