Skip to content

Commit e2ffbee

Browse files
committed
fix(sdmmc): use corrent variable
1 parent 58b1967 commit e2ffbee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SD_MMC/src/SD_MMC.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ bool SDMMCFS::begin(const char *mountpoint, bool mode1bit, bool format_if_mount_
246246

247247
#ifdef SOC_SDMMC_IO_POWER_EXTERNAL
248248
sd_pwr_ctrl_ldo_config_t ldo_config = {
249-
.ldo_chan_id = _pin_power,
249+
.ldo_chan_id = _power_channel,
250250
};
251251
sd_pwr_ctrl_handle_t pwr_ctrl_handle = NULL;
252252

0 commit comments

Comments
 (0)