# HG changeset patch # User Michiel Broek # Date 1621283923 -7200 # Node ID bac0a860f5dd9f5574f4be9f32f7390bc34c5ff7 # Parent 255a75322212b79a6aa5a41a836300656d1b705f No repeated logs when the SD card is removed. Supress wifi_init logs. diff -r 255a75322212 -r bac0a860f5dd README.md --- a/README.md Mon May 17 20:44:35 2021 +0200 +++ b/README.md Mon May 17 22:38:43 2021 +0200 @@ -75,6 +75,9 @@ client. Deze web client probeert een kopie te zijn van het touch scherm. https://github.com/Molorius/esp32-websocket.git components/websocket +7 Segments display font voor de web applicatie: http://www.keshikan.net +Deze is gemaakt door keshikan. + Het schema voor dit project staat op EasyDA. Zie https://easyeda.com/mbroek/ESP32_experiments-3ec1c1b17c3b41378ba4493ea69fa5c3. Belangrijk als je dit gaat bouwen: koop het juiste ESP32 devkit board. De diff -r 255a75322212 -r bac0a860f5dd main/brewboard.c --- a/main/brewboard.c Mon May 17 20:44:35 2021 +0200 +++ b/main/brewboard.c Mon May 17 22:38:43 2021 +0200 @@ -125,6 +125,7 @@ xTaskCreate(&task_sdcard, "task_sdcard", 8192, NULL,10, &xTaskSDcard); /* lower the wifi logging level */ esp_log_level_set("wifi", ESP_LOG_ERROR); + esp_log_level_set("wifi_init", ESP_LOG_ERROR); xTaskCreate(&task_wifi, "task_wifi", 4096, NULL, 3, &xTaskWifi); TFT_print((char *)" Ok\r\nConnecting ", LASTX, LASTY); diff -r 255a75322212 -r bac0a860f5dd main/task_sdcard.c --- a/main/task_sdcard.c Mon May 17 20:44:35 2021 +0200 +++ b/main/task_sdcard.c Mon May 17 22:38:43 2021 +0200 @@ -440,9 +440,9 @@ slot_config.host_id = host.slot; /* - * No errors from the sdmmc_cmd driver. + * No errors from the sdspi_transaction driver. */ - esp_log_level_set("sdmmc_cmd", ESP_LOG_NONE); + esp_log_level_set("sdspi_transaction", ESP_LOG_NONE); /* * Options for mounting the filesystem. @@ -487,6 +487,7 @@ } else { closedir(dir); } + esp_log_level_set("sdmmc_sd", ESP_LOG_INFO); } } else { /* @@ -497,6 +498,7 @@ ESP_LOGI(TAG, "SD card missing, unmount"); my_esp_vfs_fat_sdmmc_unmount(); sdcard_state->card_present = false; + esp_log_level_set("sdmmc_sd", ESP_LOG_NONE); } else { closedir(dir); }