mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
re-rename ENABLE_TIMER_SUSPEND to TIMER_SUSPEND_ENABLE in user_config.h (#2520)
This commit is contained in:
parent
cbd19f895f
commit
5767475766
@ -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 ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#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[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user