Commit 57674757 authored by Arnim Läuger's avatar Arnim Läuger Committed by Marcel Stör
Browse files

re-rename ENABLE_TIMER_SUSPEND to TIMER_SUSPEND_ENABLE in user_config.h (#2520)

parent cbd19f89
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
// firmware to manage timer rescheduling over sleeps (the CPU clock is // firmware to manage timer rescheduling over sleeps (the CPU clock is
// suspended so timers get out of sync) then enable the following options // suspended so timers get out of sync) then enable the following options
//#define ENABLE_TIMER_SUSPEND //#define TIMER_SUSPEND_ENABLE
//#define PMSLEEP_ENABLE //#define PMSLEEP_ENABLE
......
...@@ -378,22 +378,6 @@ static int tmr_create( lua_State *L ) { ...@@ -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 // Module function map
static const LUA_REG_TYPE tmr_dyn_map[] = { static const LUA_REG_TYPE tmr_dyn_map[] = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment