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
e9091728
Unverified
Commit
e9091728
authored
Jun 13, 2022
by
Rotzbua
Committed by
GitHub
Jun 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WiFiSTA] Remove duplicate setting of SSID and password. (#6825)
Done by function call of `wifi_sta_config`.
parent
2db7ded9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
libraries/WiFi/src/WiFiSTA.cpp
libraries/WiFi/src/WiFiSTA.cpp
+0
-5
No files found.
libraries/WiFi/src/WiFiSTA.cpp
View file @
e9091728
...
@@ -240,11 +240,6 @@ wl_status_t WiFiSTAClass::begin(const char* ssid, const char *passphrase, int32_
...
@@ -240,11 +240,6 @@ wl_status_t WiFiSTAClass::begin(const char* ssid, const char *passphrase, int32_
wifi_config_t
conf
;
wifi_config_t
conf
;
memset
(
&
conf
,
0
,
sizeof
(
wifi_config_t
));
memset
(
&
conf
,
0
,
sizeof
(
wifi_config_t
));
_wifi_strncpy
(
reinterpret_cast
<
char
*>
(
conf
.
sta
.
ssid
),
ssid
,
32
);
if
(
passphrase
)
{
_wifi_strncpy
(
reinterpret_cast
<
char
*>
(
conf
.
sta
.
password
),
passphrase
,
64
);
}
wifi_sta_config
(
&
conf
,
ssid
,
passphrase
,
bssid
,
channel
,
_minSecurity
,
_scanMethod
,
_sortMethod
);
wifi_sta_config
(
&
conf
,
ssid
,
passphrase
,
bssid
,
channel
,
_minSecurity
,
_scanMethod
,
_sortMethod
);
...
...
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