Skip to content

Commit

Permalink
esp_wifi: replace deprecated CONFIGS with their new versions. Also
Browse files Browse the repository at this point in the history
fixes WiFi when SPIRAM is enabled in certain non esp-idf projects.
  • Loading branch information
zRedShift authored and muhaidong committed Nov 7, 2022
1 parent 9d93585 commit ccd5a5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/esp_wifi/include/esp_wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccd5a5a

Please sign in to comment.