mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-30 15:05:43 +00:00
boardloader: do not use ensure before display_init, just return
This commit is contained in:
parent
1f6edb448c
commit
041dd951d3
@ -163,7 +163,7 @@ int main(void)
|
|||||||
FLASH_SECTOR_STORAGE_2,
|
FLASH_SECTOR_STORAGE_2,
|
||||||
};
|
};
|
||||||
flash_erase_sectors(sectors, 2, NULL);
|
flash_erase_sectors(sectors, 2, NULL);
|
||||||
ensure(0, "wrong option bytes");
|
return 2;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user