diff options
| author | Meco Man <[email protected]> | 2023-07-08 19:09:51 -0400 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-07-09 00:19:29 -0400 |
| commit | 237bbfd9688b4ea0329047a85165323b99961345 (patch) | |
| tree | 5e66a22c24e74c6df3482ad39dc2aa7a31008180 /src/timer.c | |
| parent | 3660db39a1bf7310730490ea51b67e404a85c733 (diff) | |
[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
Diffstat (limited to 'src/timer.c')
| -rw-r--r-- | src/timer.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/timer.c b/src/timer.c index 04e4a91b13..6a077f7575 100644 --- a/src/timer.c +++ b/src/timer.c @@ -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 |
