Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
9b00d4ae
Unverified
Commit
9b00d4ae
authored
Mar 10, 2022
by
Pedro Minatel
Committed by
GitHub
Mar 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the antenna GPIO argument (#6392)
parent
66596fa5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/WiFi/examples/WiFiScanDualAntenna/WiFiScanDualAntenna.ino
...WiFi/examples/WiFiScanDualAntenna/WiFiScanDualAntenna.ino
+1
-1
No files found.
libraries/WiFi/examples/WiFiScanDualAntenna/WiFiScanDualAntenna.ino
View file @
9b00d4ae
...
...
@@ -30,7 +30,7 @@ void setup()
*
* Set WiFi dual antenna configuration by passing the GPIO and antenna mode for RX ant TX
*/
err
=
WiFi
.
setDualAntennaConfig
(
GPIO_ANT1
,
GPIO_ANT
1
,
WIFI_RX_ANT_AUTO
,
WIFI_TX_ANT_AUTO
);
err
=
WiFi
.
setDualAntennaConfig
(
GPIO_ANT1
,
GPIO_ANT
2
,
WIFI_RX_ANT_AUTO
,
WIFI_TX_ANT_AUTO
);
/* For more details on how to use this feature, see our docs:
* https://docs.espressif.com/projects/arduino-esp32/en/latest/api/wifi.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment