Skip to content

Commit

Permalink
Update WiFiGeneric.cpp (#7044)
Browse files Browse the repository at this point in the history
Changes WiFi Static TX Cache Buffer Number to 4 in order to avoid issues with sending more than 1 packet at the same time.
  • Loading branch information
zhangyanjiaoesp committed Jul 28, 2022
1 parent e10b528 commit 178aee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/WiFi/src/WiFiGeneric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 178aee8

Please sign in to comment.