1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-08 22:40:59 +00:00

boardloader: do not call shutdown directly, return and the startup code handles it

This commit is contained in:
mcudev 2017-10-22 14:33:31 -04:00 committed by Pavol Rusnak
parent 041dd951d3
commit abf7f822b8

View File

@ -173,8 +173,7 @@ int main(void)
sdcard_init();
if (check_sdcard()) {
copy_sdcard();
shutdown();
return copy_sdcard() ? 0 : 3;
}
image_header hdr;