wifi: Fix esp_wifi log levels

Closes https://github.com/espressif/esp-idf/issues/5721
This commit is contained in:
aditi_lonkar
2020-07-28 17:57:55 +05:30
parent eda151992b
commit a6a8381745
3 changed files with 6 additions and 3 deletions

View File

@@ -63,8 +63,10 @@ static void __attribute__((constructor)) s_set_default_wifi_log_level(void)
so set it at runtime startup. Done here not in esp_wifi_init() to allow
the user to set the level again before esp_wifi_init() is called.
*/
esp_log_level_set("wifi", CONFIG_LOG_DEFAULT_LEVEL);
esp_log_level_set("wifi", CONFIG_LOG_DEFAULT_LEVEL);
esp_log_level_set("mesh", CONFIG_LOG_DEFAULT_LEVEL);
esp_log_level_set("smartconfig", CONFIG_LOG_DEFAULT_LEVEL);
esp_log_level_set("ESPNOW", CONFIG_LOG_DEFAULT_LEVEL);
}
static void esp_wifi_set_debug_log(void)