1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-15 23:56:12 +00:00

boardloader: do not use ensure before display_init, just return

This commit is contained in:
mcudev 2017-10-22 14:28:10 -04:00 committed by Pavol Rusnak
parent 1f6edb448c
commit 041dd951d3

View File

@ -163,7 +163,7 @@ int main(void)
FLASH_SECTOR_STORAGE_2,
};
flash_erase_sectors(sectors, 2, NULL);
ensure(0, "wrong option bytes");
return 2;
}
#endif