Make dual ant a sdkconfig setting

This commit is contained in:
feedc0de committed 2022-05-06 18:36:44 +02:00
1 parent f836ceb9c8
commit 63628ce68d
4 files changed
+10 -1

No files matched your search

+2
View File
@@ -341,6 +341,7 @@ void init(const config &config)
ESP_LOGE(TAG, "wifi_set_ap_config() failed with %s", esp_err_to_name(result));
}
#ifdef CONFIG_WIFI_DUAL_ANT
if (config.dual_ant)
{
{
@@ -368,6 +369,7 @@ void init(const config &config)
ESP_LOGE(TAG, "esp_wifi_set_ant() failed with %s", esp_err_to_name(result));
}
}
#endif
last_ap_config = config.ap;