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

pull/25/head
mcudev 7 years ago committed by Pavol Rusnak
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…
Cancel
Save