diff -r f93706c82762 -r c7b8a9931b59 main/task_sdcard.c --- a/main/task_sdcard.c Wed Jul 03 11:18:20 2019 +0200 +++ b/main/task_sdcard.c Thu Jul 04 15:57:43 2019 +0200 @@ -208,13 +208,13 @@ // connect SDMMC driver to FATFS pdrv = 0xFF; if (ff_diskio_get_drive(&pdrv) != ESP_OK || pdrv == 0xFF) { - ESP_LOGI(TAG, "the maximum count of volumes is already mounted"); + ESP_LOGE(TAG, "the maximum count of volumes is already mounted"); return ESP_ERR_NO_MEM; } s_base_path = strdup(base_path); if (!s_base_path) { - ESP_LOGI(TAG, "could not copy base_path"); + ESP_LOGE(TAG, "could not copy base_path"); return ESP_ERR_NO_MEM; } esp_err_t err = ESP_OK; @@ -226,7 +226,7 @@ err = (*host_config->init)(); if (err != ESP_OK) { - ESP_LOGI(TAG, "host init returned rc=0x%x", err); + ESP_LOGE(TAG, "host init returned rc=0x%x", err); goto fail; } @@ -237,7 +237,7 @@ err = sdmmc_host_init_slot(host_config->slot, (const sdmmc_slot_config_t*) slot_config); } if (err != ESP_OK) { - ESP_LOGI(TAG, "slot_config returned rc=0x%x", err); + ESP_LOGE(TAG, "slot_config returned rc=0x%x", err); goto fail; } return ESP_OK; @@ -344,13 +344,13 @@ f = fopen(ff, "r"); if (f == NULL) { - ESP_LOGE(TAG, "FileCopy cannot open %s for read, error %d", ff, errno); + ESP_LOGW(TAG, "FileCopy cannot open %s for read, error %d", ff, errno); return 1; } t = fopen(tf, "w+"); if (t == NULL) { - ESP_LOGE(TAG, "FileCopy cannot open %s for create/write, error %d", tf, errno); + ESP_LOGW(TAG, "FileCopy cannot open %s for create/write, error %d", tf, errno); fclose(f); return 1; }