Merge remote-tracking branch 'origin/bugfix/modify_some_wifi_apis' into feature/initial_examples

This commit is contained in:
Angus Gratton
2016-09-27 19:31:49 +10:00
7 changed files with 207 additions and 179 deletions

View File

@@ -147,7 +147,7 @@ static void initialise_wifi(void)
tcpip_adapter_init();
wifi_event_group = xEventGroupCreate();
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) );
wifi_config_t wifi_config = {