Skip to content

Commit 7991110

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/WiFi/src/WiFiGeneric.cpp

+2-2
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)