1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

boardloader: don't call copy_sdcard twice

This commit is contained in:
Pavol Rusnak 2017-10-13 00:28:06 +02:00
parent b60a1ad79f
commit c5dfa37f3e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -156,11 +156,8 @@ int main(void)
ensure(0 == sdcard_init(), NULL);
if (check_sdcard()) {
if (!copy_sdcard()) {
ensure(true == copy_sdcard(), NULL);
} else {
for (;;);
}
ensure(true == copy_sdcard(), NULL);
for (;;);
}
check_and_jump();