Update names of SD card GPIO pins

This commit is contained in:
Renze Nicolai 2022-05-15 03:02:49 +02:00
parent f25278d3d9
commit 247b0a269d

View file

@ -708,7 +708,7 @@ void app_main(void) {
}
/* Start SD card filesystem */
res = mount_sd(SD_CMD, SD_CLK, SD_D0, SD_PWR, "/sd", false, 5);
res = mount_sd(GPIO_SD_CMD, GPIO_SD_CLK, GPIO_SD_D0, GPIO_SD_PWR, "/sd", false, 5);
bool sdcard_ready = (res == ESP_OK);
if (sdcard_ready) {
ESP_LOGI(TAG, "SD card filesystem mounted");