esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP

This commit is contained in:
xiehang
2021-01-19 11:58:04 +08:00
parent b8a8fe3f54
commit dffbce9813
9 changed files with 13 additions and 13 deletions

View File

@@ -74,7 +74,7 @@ void wifi_init_softap(void)
}
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_AP));
ESP_ERROR_CHECK(esp_wifi_set_config(ESP_IF_WIFI_AP, &wifi_config));
ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_AP, &wifi_config));
ESP_ERROR_CHECK(esp_wifi_start());
ESP_LOGI(TAG, "wifi_init_softap finished. SSID:%s password:%s channel:%d",