Skip to content

Commit ee14bc2

Browse files
committed
Mute leftover debug from WiFi
1 parent 56ef31f commit ee14bc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp32/esp32-hal-misc.c

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "nvs_flash.h"
2121
#include "nvs.h"
2222
#include "esp_partition.h"
23+
#include "esp_log.h"
2324
#include <sys/time.h>
2425

2526
void yield()
@@ -78,6 +79,7 @@ void init() {}
7879

7980
void initArduino()
8081
{
82+
esp_log_level_set("*", CONFIG_LOG_DEFAULT_LEVEL);
8183
esp_err_t err = nvs_flash_init();
8284
if(err == ESP_ERR_NVS_NO_FREE_PAGES){
8385
const esp_partition_t* partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_DATA_NVS, NULL);

0 commit comments

Comments
 (0)