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 9b00d4a

Browse filesBrowse files
authored
Fixed the antenna GPIO argument (espressif#6392)
1 parent 66596fa commit 9b00d4a
Copy full SHA for 9b00d4a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎libraries/WiFi/examples/WiFiScanDualAntenna/WiFiScanDualAntenna.ino

Copy file name to clipboardExpand all lines: libraries/WiFi/examples/WiFiScanDualAntenna/WiFiScanDualAntenna.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void setup()
3030
*
3131
* Set WiFi dual antenna configuration by passing the GPIO and antenna mode for RX ant TX
3232
*/
33-
err = WiFi.setDualAntennaConfig(GPIO_ANT1, GPIO_ANT1, WIFI_RX_ANT_AUTO, WIFI_TX_ANT_AUTO);
33+
err = WiFi.setDualAntennaConfig(GPIO_ANT1, GPIO_ANT2, WIFI_RX_ANT_AUTO, WIFI_TX_ANT_AUTO);
3434

3535
/* For more details on how to use this feature, see our docs:
3636
* https://docs.espressif.com/projects/arduino-esp32/en/latest/api/wifi.html

0 commit comments

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