Mute leftover debug from WiFi

This commit is contained in:
me-no-dev 2017-04-13 09:13:45 +03:00
parent 56ef31f899
commit ee14bc2cc6

View File

@ -20,6 +20,7 @@
#include "nvs_flash.h" #include "nvs_flash.h"
#include "nvs.h" #include "nvs.h"
#include "esp_partition.h" #include "esp_partition.h"
#include "esp_log.h"
#include <sys/time.h> #include <sys/time.h>
void yield() void yield()
@ -78,6 +79,7 @@ void init() {}
void initArduino() void initArduino()
{ {
esp_log_level_set("*", CONFIG_LOG_DEFAULT_LEVEL);
esp_err_t err = nvs_flash_init(); esp_err_t err = nvs_flash_init();
if(err == ESP_ERR_NVS_NO_FREE_PAGES){ 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); const esp_partition_t* partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_DATA_NVS, NULL);