Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
e45d7904
Commit
e45d7904
authored
Dec 21, 2015
by
Terry Ellison
Browse files
Merge pull request #866 from robertfoss/enduser_setup_#863
Fixed compilation error when the enduser_setup module is disabled
parents
1462d00e
672c396c
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/enduser_setup.c
View file @
e45d7904
...
@@ -640,6 +640,10 @@ static void enduser_setup_ap_start(void)
...
@@ -640,6 +640,10 @@ static void enduser_setup_ap_start(void)
struct
softap_config
cnf
;
struct
softap_config
cnf
;
c_memset
(
&
(
cnf
),
0
,
sizeof
(
struct
softap_config
));
c_memset
(
&
(
cnf
),
0
,
sizeof
(
struct
softap_config
));
#ifndef ENDUSER_SETUP_AP_SSID
#define ENDUSER_SETUP_AP_SSID "SetupGadget"
#endif
char
ssid
[]
=
ENDUSER_SETUP_AP_SSID
;
char
ssid
[]
=
ENDUSER_SETUP_AP_SSID
;
int
ssid_name_len
=
c_strlen
(
ENDUSER_SETUP_AP_SSID
);
int
ssid_name_len
=
c_strlen
(
ENDUSER_SETUP_AP_SSID
);
c_memcpy
(
&
(
cnf
.
ssid
),
ssid
,
ssid_name_len
);
c_memcpy
(
&
(
cnf
.
ssid
),
ssid
,
ssid_name_len
);
...
...
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