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
dc5cc6d9
"components/vscode:/vscode.git/clone" did not exist on "72d28fa86eaddc66fb09beb60798a7e60607bfa6"
Commit
dc5cc6d9
authored
Jan 14, 2016
by
philip
Browse files
Add the exccause parameter into the bootreason block
parent
2d82e622
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/node.c
View file @
dc5cc6d9
...
...
@@ -477,12 +477,13 @@ static int node_bootreason (lua_State *L)
lua_pushnumber
(
L
,
ri
->
reason
);
if
(
ri
->
reason
==
REASON_EXCEPTION_RST
)
{
lua_pushnumber
(
L
,
ri
->
exccause
);
lua_pushnumber
(
L
,
ri
->
epc1
);
lua_pushnumber
(
L
,
ri
->
epc2
);
lua_pushnumber
(
L
,
ri
->
epc3
);
lua_pushnumber
(
L
,
ri
->
excvaddr
);
lua_pushnumber
(
L
,
ri
->
depc
);
return
7
;
return
8
;
}
else
return
2
;
...
...
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