forked from CTCaer/hekate
nyx: reset SD speed to SDR104 if init fails
This commit is contained in:
parent
2e8bfc1f56
commit
26fa363ca4
@ -438,6 +438,10 @@ void nyx_init_load_res()
|
||||
// Try 2 times to mount SD card.
|
||||
if (!sd_mount())
|
||||
{
|
||||
// Restore speed to SDR104.
|
||||
sd_end();
|
||||
|
||||
// Retry.
|
||||
if (!sd_mount())
|
||||
_show_errors(SD_MOUNT_ERROR); // Fatal.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user