Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7991110

Browse filesBrowse files
authored
wifi: fix esp32 dual antenna issue (espressif#6841)
1 parent 0480112 commit 7991110
Copy full SHA for 7991110

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎libraries/WiFi/src/WiFiGeneric.cpp

Copy file name to clipboardExpand all lines: libraries/WiFi/src/WiFiGeneric.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,8 +1338,8 @@ bool WiFiGenericClass::setDualAntennaConfig(uint8_t gpio_ant1, uint8_t gpio_ant2
13381338
.rx_ant_mode = WIFI_ANT_MODE_AUTO,
13391339
.rx_ant_default = WIFI_ANT_MAX, // Ignored in AUTO mode
13401340
.tx_ant_mode = WIFI_ANT_MODE_AUTO,
1341-
.enabled_ant0 = 0,
1342-
.enabled_ant1 = 1,
1341+
.enabled_ant0 = 1,
1342+
.enabled_ant1 = 2,
13431343
};
13441344

13451345
switch (rx_mode)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.