Remove dbg_enter and dbg_exit macro.

This commit is contained in:
armink 2019-03-06 18:02:29 +08:00
parent 0d7ba79219
commit 8fa6c1d9cd
2 changed files with 0 additions and 19 deletions

View File

@ -114,23 +114,6 @@
__FUNCTION__, __LINE__); \
}
#define dbg_enter \
if ((DBG_LEVEL) <= DBG_LOG){ \
_DBG_COLOR(32); \
rt_kprintf(DBG_SECTION_NAME " Enter %s\n", \
__FUNCTION__); \
_DBG_COLOR(0); \
}
#define dbg_exit \
if ((DBG_LEVEL) <= DBG_LOG){ \
_DBG_COLOR(32); \
rt_kprintf(DBG_SECTION_NAME " Exit %s:%d\n", \
__FUNCTION__); \
_DBG_COLOR(0); \
}
#define dbg_log_line(lvl, color_n, fmt, ...) \
do \
{ \

View File

@ -49,8 +49,6 @@ static void _signal_entry(void *parameter)
{
rt_thread_t tid = rt_thread_self();
dbg_enter;
/* handle signal */
rt_thread_handle_sig(RT_FALSE);