Skip to content

Commit f533457

Browse files
committed
fix(sdmmc): Remove periman
1 parent e2ffbee commit f533457

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

libraries/SD_MMC/src/SD_MMC.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,6 @@ bool SDMMCFS::begin(const char *mountpoint, bool mode1bit, bool format_if_mount_
302302
goto err;
303303
}
304304
}
305-
#ifdef SOC_SDMMC_IO_POWER_EXTERNAL
306-
if (!perimanSetPinBus(_pin_power, ESP32_BUS_TYPE_SDMMC_POWER, (void *)(this), -1, -1)) {
307-
goto err;
308-
}
309-
#endif
310305
return true;
311306

312307
err:

variants/esp32p4/pins_arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ static const uint8_t T13 = 15;
6969
#define BOARD_HAS_SDMMC
7070
#define BOARD_SDMMC_SLOT 0
7171
#define BOARD_SDMMC_POWER_CHANNEL 4
72+
#define BOARD_SDMMC_POWER_PIN 43
7273

7374
//WIFI - ESP32C6
7475
#define BOARD_HAS_SDIO_ESP_HOSTED

0 commit comments

Comments
 (0)