mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-23 02:16:41 +00:00
nyx: reset SD speed to SDR104 if init fails
This commit is contained in:
parent
2e8bfc1f56
commit
26fa363ca4
1 changed files with 4 additions and 0 deletions
|
@ -438,6 +438,10 @@ void nyx_init_load_res()
|
||||||
// Try 2 times to mount SD card.
|
// Try 2 times to mount SD card.
|
||||||
if (!sd_mount())
|
if (!sd_mount())
|
||||||
{
|
{
|
||||||
|
// Restore speed to SDR104.
|
||||||
|
sd_end();
|
||||||
|
|
||||||
|
// Retry.
|
||||||
if (!sd_mount())
|
if (!sd_mount())
|
||||||
_show_errors(SD_MOUNT_ERROR); // Fatal.
|
_show_errors(SD_MOUNT_ERROR); // Fatal.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue