[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:
Meco Man
2023-07-09 00:19:29 -04:00
committed by Man, Jianting (Meco)
parent 3660db39a1
commit 237bbfd968
19 changed files with 33 additions and 143 deletions
+3 -7
View File
@@ -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