mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
fusee: Run periodic autocal only on the uSD controller (#137)
This commit is contained in:
parent
5c80016c81
commit
d8c9399cff
2 changed files with 8 additions and 2 deletions
|
@ -2175,7 +2175,10 @@ static int sdmmc_send_command(struct mmc *mmc, enum sdmmc_command command,
|
|||
}
|
||||
}
|
||||
|
||||
// Periodically recalibrate the SD controller
|
||||
if (mmc->controller == SWITCH_MICROSD) {
|
||||
sdmmc_run_autocal(mmc, true);
|
||||
}
|
||||
|
||||
// If we have data to send, prepare it.
|
||||
sdmmc_prepare_command_data(mmc, blocks_to_transfer, is_write, auto_terminate, mmc->use_dma, argument);
|
||||
|
|
|
@ -2176,7 +2176,10 @@ static int sdmmc_send_command(struct mmc *mmc, enum sdmmc_command command,
|
|||
}
|
||||
}
|
||||
|
||||
// Periodically recalibrate the SD controller
|
||||
if (mmc->controller == SWITCH_MICROSD) {
|
||||
sdmmc_run_autocal(mmc, true);
|
||||
}
|
||||
|
||||
// If we have data to send, prepare it.
|
||||
sdmmc_prepare_command_data(mmc, blocks_to_transfer, is_write, auto_terminate, mmc->use_dma, argument);
|
||||
|
|
Loading…
Reference in a new issue