1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00
trezor-firmware/micropython/stmhal/bootloader/ui.c

21 lines
441 B
C
Raw Normal View History

2016-10-04 16:01:48 +00:00
#include "ui.h"
2016-10-03 14:17:49 +00:00
#include "display.h"
2016-10-04 16:01:48 +00:00
2017-02-11 15:47:36 +00:00
void screen_stage1(void)
{
display_clear();
display_text(0, 240, "BL stage 1", -1, FONT_MONO, ui_WHITE, ui_BLACK);
}
void screen_stage2_jump(void)
{
display_clear();
display_text(0, 240, "BL stage 2 jump", -1, FONT_MONO, ui_WHITE, ui_BLACK);
}
2017-02-11 15:47:36 +00:00
void screen_stage2_invalid(void)
2016-10-03 14:17:49 +00:00
{
2017-02-11 15:47:36 +00:00
display_clear();
display_text(0, 240, "BL stage 2 invalid", -1, FONT_MONO, ui_WHITE, ui_BLACK);
2016-10-03 14:17:49 +00:00
}