提交 8fa6c1d9 编写于 作者: armink_ztl's avatar armink_ztl

Remove dbg_enter and dbg_exit macro.

上级 0d7ba792
...@@ -114,23 +114,6 @@ ...@@ -114,23 +114,6 @@
__FUNCTION__, __LINE__); \ __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, ...) \ #define dbg_log_line(lvl, color_n, fmt, ...) \
do \ do \
{ \ { \
......
...@@ -49,8 +49,6 @@ static void _signal_entry(void *parameter) ...@@ -49,8 +49,6 @@ static void _signal_entry(void *parameter)
{ {
rt_thread_t tid = rt_thread_self(); rt_thread_t tid = rt_thread_self();
dbg_enter;
/* handle signal */ /* handle signal */
rt_thread_handle_sig(RT_FALSE); rt_thread_handle_sig(RT_FALSE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册