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
b8d9ad16
Commit
b8d9ad16
authored
Jun 03, 2016
by
Johny Mattsson
Browse files
Fixed wrong macro usage.
parent
a3b9ffe3
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/tmr.c
View file @
b8d9ad16
...
@@ -119,7 +119,7 @@ static void run_callback (task_param_t arg, task_prio_t prio)
...
@@ -119,7 +119,7 @@ static void run_callback (task_param_t arg, task_prio_t prio)
static
void
alarm_timer_common
(
void
*
arg
)
static
void
alarm_timer_common
(
void
*
arg
)
{
{
if
(
!
task_post_medium
(
callback_task
,
(
task_param_t
)
arg
))
if
(
!
task_post_medium
(
callback_task
,
(
task_param_t
)
arg
))
NODE_ERR
OR
(
"ERROR: lost timer callback!"
);
NODE_ERR
(
"ERROR: lost timer callback!"
);
}
}
// Lua: tmr.delay( us )
// Lua: tmr.delay( us )
...
...
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