1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

fix(legacy/intermediate_fw): remove redundant display initialization

[no changelog]
This commit is contained in:
cepetr 2023-10-11 13:10:01 +02:00 committed by cepetr
parent 9b78dd107b
commit d028f34eac

View File

@ -107,7 +107,7 @@ int main(void) {
setupApp();
__stack_chk_guard = random32(); // this supports compiler provided
// unpredictable stack protection checks
oledInit();
if (is_mode_unprivileged()) {
layoutDialog(&bmp_icon_warning, NULL, NULL, NULL, "Cannot update", NULL,
NULL, "Unprivileged mode", "Unsigned firmware", NULL);