Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
c9e86218
Commit
c9e86218
authored
Aug 05, 2017
by
dnc40085
Browse files
fix for travisCI
parent
295e640a
Changes
1
Show whitespace changes
Inline
Side-by-side
app/modules/tmr.c
View file @
c9e86218
...
...
@@ -428,7 +428,7 @@ static int tmr_create( lua_State *L ) {
}
#if defined(SWTMR_DEBUG)
#if
defined(ENABLE_TIMER_SUSPEND) &&
defined(SWTMR_DEBUG)
static
void
tmr_printRegistry
(
lua_State
*
L
){
swtmr_print_registry
();
}
...
...
@@ -463,7 +463,7 @@ static const LUA_REG_TYPE tmr_dyn_map[] = {
{
LNILKEY
,
LNILVAL
}
};
#if defined(SWTMR_DEBUG)
#if
defined(ENABLE_TIMER_SUSPEND) &&
defined(SWTMR_DEBUG)
static
const
LUA_REG_TYPE
tmr_dbg_map
[]
=
{
{
LSTRKEY
(
"printRegistry"
),
LFUNCVAL
(
tmr_printRegistry
)
},
{
LSTRKEY
(
"printSuspended"
),
LFUNCVAL
(
tmr_printSuspended
)
},
...
...
@@ -492,7 +492,7 @@ static const LUA_REG_TYPE tmr_map[] = {
{
LSTRKEY
(
"state"
),
LFUNCVAL
(
tmr_state
)
},
{
LSTRKEY
(
"interval"
),
LFUNCVAL
(
tmr_interval
)
},
{
LSTRKEY
(
"create"
),
LFUNCVAL
(
tmr_create
)
},
#if defined(SWTMR_DEBUG)
#if
defined(ENABLE_TIMER_SUSPEND) &&
defined(SWTMR_DEBUG)
{
LSTRKEY
(
"debug"
),
LROVAL
(
tmr_dbg_map
)
},
#endif
{
LSTRKEY
(
"ALARM_SINGLE"
),
LNUMVAL
(
TIMER_MODE_SINGLE
)
},
...
...
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