Skip to content

Commit 4716fc0

Browse files
committed
Fix indentation
1 parent bca5f68 commit 4716fc0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

libraries/SD_MMC/src/SD_MMC.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,13 @@ bool SDMMCFS::begin(const char *mountpoint, bool mode1bit, bool format_if_mount_
247247
.flags = 0,
248248
};
249249
#ifdef SOC_SDMMC_UHS_I_SUPPORTED
250-
if (sdmmc_frequency == SDMMC_FREQ_DDR50) {
251-
host.flags |= SDMMC_HOST_FLAG_DDR;
252-
slot_config.flags = SDMMC_SLOT_FLAG_UHS1;
253-
}
254-
if (sdmmc_frequency == SDMMC_FREQ_SDR50) {
255-
slot_config.flags = SDMMC_SLOT_FLAG_UHS1;
256-
}
250+
if (sdmmc_frequency == SDMMC_FREQ_DDR50) {
251+
host.flags |= SDMMC_HOST_FLAG_DDR;
252+
slot_config.flags = SDMMC_SLOT_FLAG_UHS1;
253+
}
254+
if (sdmmc_frequency == SDMMC_FREQ_SDR50) {
255+
slot_config.flags = SDMMC_SLOT_FLAG_UHS1;
256+
}
257257
#endif
258258
#else
259259
host.slot = SDMMC_HOST_SLOT_1;

0 commit comments

Comments
 (0)