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
f3167104
Commit
f3167104
authored
May 11, 2015
by
dnc40085
Browse files
Fixed error in wifi_station_listap
parent
aca2b772
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/wifi.c
View file @
f3167104
...
...
@@ -545,7 +545,7 @@ static int wifi_station_listap( lua_State* L )
if
(
lua_isnumber
(
L
,
-
1
)
)
// deal with the ssid string
{
show_hidden
=
luaL_checknumber
(
L
,
-
1
);
if
(
show_hidden
!=
0
||
show_hidden
!=
1
)
if
(
show_hidden
!=
0
&&
show_hidden
!=
1
)
return
luaL_error
(
L
,
"show_hidden: 0 or 1"
);
scan_cfg
.
show_hidden
=
show_hidden
;
c_printf
(
"%d
\n
"
,
scan_cfg
.
show_hidden
);
...
...
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