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
67d785ff
Commit
67d785ff
authored
Jul 04, 2015
by
vowstar
Browse files
Restore default data and init data before system restore.
parent
b6e431eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/node.c
View file @
67d785ff
...
@@ -424,6 +424,8 @@ static int node_bootreason (lua_State *L)
...
@@ -424,6 +424,8 @@ static int node_bootreason (lua_State *L)
// Lua: restore()
// Lua: restore()
static
int
node_restore
(
lua_State
*
L
)
static
int
node_restore
(
lua_State
*
L
)
{
{
flash_init_data_default
();
flash_init_data_blank
();
system_restore
();
system_restore
();
return
0
;
return
0
;
}
}
...
...
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