From bbf4cd72594ab0ccc5c3bb7fed8b891196a576a1 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 27 Sep 2016 19:42:54 +1000 Subject: [PATCH] WIFI_INIT_CONFIG_DEFAULT() takes no arguments --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 77e7bad..0a619ed 100644 --- a/main/main.c +++ b/main/main.c @@ -17,7 +17,7 @@ int app_main(void) system_init(); tcpip_adapter_init(); ESP_ERROR_CHECK( esp_event_loop_init(event_handler, NULL) ); - wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(esp_event_loop_get_queue() ); + wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); ESP_ERROR_CHECK( esp_wifi_init(&cfg) ); ESP_ERROR_CHECK( esp_wifi_set_storage(WIFI_STORAGE_RAM) ); ESP_ERROR_CHECK( esp_wifi_set_mode(WIFI_MODE_STA) );