main/task_sdcard.c

changeset 119
1cef3c25426b
parent 106
191dccfe4252
--- a/main/task_sdcard.c	Fri Jul 30 20:35:04 2021 +0200
+++ b/main/task_sdcard.c	Sat Jul 31 15:44:20 2021 +0200
@@ -464,8 +464,6 @@
     ESP_LOGI(TAG, "Start SD card");
     sdmmc_host_t host = SDSPI_HOST_DEFAULT();
     host.slot = SDCARD_HOST_SLOT;	// HSPI_HOST is in use by the TFT.
-    //host.flags = SDMMC_HOST_FLAG_SPI | SDMMC_HOST_FLAG_DEINIT_ARG | SDMMC_HOST_FLAG_1BIT;
-    //host.max_freq_khz = 10000;
     spi_bus_config_t bus_cfg = {
         .mosi_io_num = SDCARD_PIN_NUM_MOSI,
         .miso_io_num = SDCARD_PIN_NUM_MISO,

mercurial