From 576747576658c41df7f9584e0e8be0232dadcfda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Sun, 28 Oct 2018 23:07:59 +0100 Subject: [PATCH] re-rename ENABLE_TIMER_SUSPEND to TIMER_SUSPEND_ENABLE in user_config.h (#2520) --- app/include/user_config.h | 2 +- app/modules/tmr.c | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/app/include/user_config.h b/app/include/user_config.h index 27568233..1b8f4a31 100644 --- a/app/include/user_config.h +++ b/app/include/user_config.h @@ -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 diff --git a/app/modules/tmr.c b/app/modules/tmr.c index 125edd71..2d479a7c 100644 --- a/app/modules/tmr.c +++ b/app/modules/tmr.c @@ -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[] = {