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:
parent
041dd951d3
commit
abf7f822b8
@ -173,8 +173,7 @@ int main(void)
|
||||
sdcard_init();
|
||||
|
||||
if (check_sdcard()) {
|
||||
copy_sdcard();
|
||||
shutdown();
|
||||
return copy_sdcard() ? 0 : 3;
|
||||
}
|
||||
|
||||
image_header hdr;
|
||||
|
Loading…
Reference in New Issue
Block a user