bdk: sdmmc: move sdr12 setup for better readability

This commit is contained in:
CTCaer committed 2023-03-31 08:29:20 +03:00
1 parent 29e32f09fb
commit 2f7e841b50
2 files changed
+3 -3

No files matched your search

-3
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.