From 71d74a209bfc84d4787b13f91d0e8624d674c952 Mon Sep 17 00:00:00 2001 From: Chen Wu Date: Mon, 28 Oct 2024 20:21:57 +0800 Subject: [PATCH] fix: Supported to use ethernet interface only mode - Closes https://github.com/espressif/esp-at/pull/866 --- components/at/src/at_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/at/src/at_init.c b/components/at/src/at_init.c index 386546e2..e2f760b6 100644 --- a/components/at/src/at_init.c +++ b/components/at/src/at_init.c @@ -62,7 +62,7 @@ static void at_wifi_statistics_task(void *params) esp_err_t esp_at_netif_init(void) { -#ifdef CONFIG_AT_WIFI_COMMAND_SUPPORT +#if defined(CONFIG_AT_WIFI_COMMAND_SUPPORT) || defined(CONFIG_AT_ETHERNET_SUPPORT) return esp_netif_init(); #else return ESP_OK;