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
52aa1f7e
Commit
52aa1f7e
authored
Jan 11, 2017
by
ffedoroff
Committed by
Marcel Stör
Jan 10, 2017
Browse files
Fix typo (#1715)
parent
c7589080
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/gpio.c
View file @
52aa1f7e
...
@@ -49,7 +49,7 @@ static void gpio_intr_callback_task (task_param_t param, uint8 priority)
...
@@ -49,7 +49,7 @@ static void gpio_intr_callback_task (task_param_t param, uint8 priority)
NODE_DBG
(
"pin:%d, level:%d
\n
"
,
pin
,
level
);
NODE_DBG
(
"pin:%d, level:%d
\n
"
,
pin
,
level
);
if
(
gpio_cb_ref
[
pin
]
!=
LUA_NOREF
)
{
if
(
gpio_cb_ref
[
pin
]
!=
LUA_NOREF
)
{
// GPIO callbacks are run in L0 and in
l
cude the level as a parameter
// GPIO callbacks are run in L0 and inc
l
ude the level as a parameter
lua_State
*
L
=
lua_getstate
();
lua_State
*
L
=
lua_getstate
();
NODE_DBG
(
"Calling: %08x
\n
"
,
gpio_cb_ref
[
pin
]);
NODE_DBG
(
"Calling: %08x
\n
"
,
gpio_cb_ref
[
pin
]);
//
//
...
...
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