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
51046fd7
Commit
51046fd7
authored
Nov 06, 2015
by
dnc40085
Browse files
Minor change to wifi.sleep
Remove unnecessary code
parent
5e95f48a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/wifi.c
View file @
51046fd7
...
@@ -357,7 +357,7 @@ static int wifi_sleep(lua_State* L)
...
@@ -357,7 +357,7 @@ static int wifi_sleep(lua_State* L)
{
{
FLAG_wifi_force_sleep_enabled
=
TRUE
;
FLAG_wifi_force_sleep_enabled
=
TRUE
;
}
}
else
if
(
wifi_fpm_do_sleep_return_value
!=
0
)
else
{
{
wifi_fpm_close
();
wifi_fpm_close
();
FLAG_wifi_force_sleep_enabled
=
FALSE
;
FLAG_wifi_force_sleep_enabled
=
FALSE
;
...
...
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