From 178aee83343478f7baedc70cb616523ea1c52348 Mon Sep 17 00:00:00 2001 From: ZYJ <30309181+zhangyanjiaoesp@users.noreply.github.com> Date: Thu, 28 Jul 2022 11:13:04 +0800 Subject: [PATCH] Update WiFiGeneric.cpp (#7044) Changes WiFi Static TX Cache Buffer Number to 4 in order to avoid issues with sending more than 1 packet at the same time. --- libraries/WiFi/src/WiFiGeneric.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/WiFi/src/WiFiGeneric.cpp b/libraries/WiFi/src/WiFiGeneric.cpp index 4034a848c..e64ac6310 100644 --- a/libraries/WiFi/src/WiFiGeneric.cpp +++ b/libraries/WiFi/src/WiFiGeneric.cpp @@ -668,7 +668,7 @@ bool wifiLowLevelInit(bool persistent){ cfg.static_tx_buf_num = 0; cfg.dynamic_tx_buf_num = 32; cfg.tx_buf_type = 1; - cfg.cache_tx_buf_num = 1; // can't be zero! + cfg.cache_tx_buf_num = 4; // can't be zero! cfg.static_rx_buf_num = 4; cfg.dynamic_rx_buf_num = 32; } -- GitLab