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
57674757
Commit
57674757
authored
Oct 28, 2018
by
Arnim Läuger
Committed by
Marcel Stör
Oct 28, 2018
Browse files
re-rename ENABLE_TIMER_SUSPEND to TIMER_SUSPEND_ENABLE in user_config.h (#2520)
parent
cbd19f89
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/include/user_config.h
View file @
57674757
...
...
@@ -110,7 +110,7 @@
// firmware to manage timer rescheduling over sleeps (the CPU clock is
// suspended so timers get out of sync) then enable the following options
//#define
ENABLE_
TIMER_SUSPEND
//#define TIMER_SUSPEND
_ENABLE
//#define PMSLEEP_ENABLE
...
...
app/modules/tmr.c
View file @
57674757
...
...
@@ -378,22 +378,6 @@ static int tmr_create( lua_State *L ) {
}
#if defined(ENABLE_TIMER_SUSPEND) && defined(SWTMR_DEBUG)
static
void
tmr_printRegistry
(
lua_State
*
L
){
swtmr_print_registry
();
}
static
void
tmr_printSuspended
(
lua_State
*
L
){
swtmr_print_suspended
();
}
static
void
tmr_printTimerlist
(
lua_State
*
L
){
swtmr_print_timer_list
();
}
#endif
// Module function map
static
const
LUA_REG_TYPE
tmr_dyn_map
[]
=
{
...
...
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