From ccd5a5a866dcb9f814c1a71d7a4ab98f7ae5ac7d Mon Sep 17 00:00:00 2001 From: Ronen Ulanovsky Date: Mon, 31 Oct 2022 17:40:12 +0200 Subject: [PATCH] esp_wifi: replace deprecated CONFIGS with their new versions. Also fixes WiFi when SPIRAM is enabled in certain non esp-idf projects. --- components/esp_wifi/include/esp_wifi.h | 2 +- components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index 6ba1e98812..d20991cd6a 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -116,7 +116,7 @@ typedef struct { #define WIFI_STATIC_TX_BUFFER_NUM 0 #endif -#if (CONFIG_ESP32_SPIRAM_SUPPORT || CONFIG_ESP32S2_SPIRAM_SUPPORT || CONFIG_ESP32S3_SPIRAM_SUPPORT) +#if CONFIG_SPIRAM #define WIFI_CACHE_TX_BUFFER_NUM CONFIG_ESP32_WIFI_CACHE_TX_BUFFER_NUM #else #define WIFI_CACHE_TX_BUFFER_NUM 0 diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 774353036b..8132b55aa5 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 774353036b5d4bc9055d7961e7011b676c858be2 +Subproject commit 8132b55aa5a11783f5c32cc526d04e1f168d8939