bdk: sdmmc: move sdr12 setup for better readability

This commit is contained in:
CTCaer
2023-03-31 08:29:20 +03:00
parent 29e32f09fb
commit 2f7e841b50
2 changed files with 3 additions and 3 deletions

View File

@@ -1418,9 +1418,6 @@ int sdmmc_enable_low_voltage(sdmmc_t *sdmmc)
if (sdmmc->id != SDMMC_1)
return 0;
if (!sdmmc_setup_clock(sdmmc, SDHCI_TIMING_UHS_SDR12))
return 0;
_sdmmc_commit_changes(sdmmc);
// Switch to 1.8V and wait for regulator to stabilize. Assume max possible wait needed.