From ee14bc2cc6c735976c1baed28e24cbaed0ccea03 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Thu, 13 Apr 2017 09:13:45 +0300 Subject: [PATCH] Mute leftover debug from WiFi --- cores/esp32/esp32-hal-misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cores/esp32/esp32-hal-misc.c b/cores/esp32/esp32-hal-misc.c index a2535500..d3a6b962 100644 --- a/cores/esp32/esp32-hal-misc.c +++ b/cores/esp32/esp32-hal-misc.c @@ -20,6 +20,7 @@ #include "nvs_flash.h" #include "nvs.h" #include "esp_partition.h" +#include "esp_log.h" #include void yield() @@ -78,6 +79,7 @@ void init() {} void initArduino() { + esp_log_level_set("*", CONFIG_LOG_DEFAULT_LEVEL); esp_err_t err = nvs_flash_init(); if(err == ESP_ERR_NVS_NO_FREE_PAGES){ const esp_partition_t* partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_DATA_NVS, NULL);