mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-24 05:04:10 +08:00
[debug] remove RT_DEBUG_xxx
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
This commit is contained in:
committed by
Man, Jianting (Meco)
parent
3660db39a1
commit
237bbfd968
+3
-7
@@ -25,11 +25,7 @@
|
||||
#include <rthw.h>
|
||||
|
||||
#define DBG_TAG "kernel.timer"
|
||||
#ifdef RT_DEBUG_TIMER
|
||||
#define DBG_LVL DBG_LOG
|
||||
#else
|
||||
#define DBG_LVL DBG_WARNING
|
||||
#endif /* defined (RT_DEBUG_TIMER) */
|
||||
#define DBG_LVL DBG_INFO
|
||||
#include <rtdbg.h>
|
||||
|
||||
/* hard timer list */
|
||||
@@ -203,7 +199,7 @@ rt_inline void _timer_remove(rt_timer_t timer)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef RT_DEBUG_TIMER
|
||||
#if (DBG_LVL == DBG_LOG)
|
||||
/**
|
||||
* @brief The number of timer
|
||||
*
|
||||
@@ -242,7 +238,7 @@ void rt_timer_dump(rt_list_t timer_heads[])
|
||||
}
|
||||
rt_kprintf("\n");
|
||||
}
|
||||
#endif /* RT_DEBUG_TIMER */
|
||||
#endif /* (DBG_LVL == DBG_LOG) */
|
||||
|
||||
/**
|
||||
* @addtogroup Clock
|
||||
|
||||
Reference in New Issue
Block a user