summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorarmink <[email protected]>2019-03-06 18:02:29 +0800
committerarmink <[email protected]>2019-03-06 18:02:29 +0800
commit8fa6c1d9cd4935d0df8432355e6285231000462b (patch)
tree1307015a8fb08dfc162f5fde611d9431a8cbb505 /include
parent0d7ba79219f939ad0dc55eb70872e11c950b0da8 (diff)
Remove dbg_enter and dbg_exit macro.
Diffstat (limited to 'include')
-rw-r--r--include/rtdbg.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/rtdbg.h b/include/rtdbg.h
index 97845321e7..6eb8ceb221 100644
--- a/include/rtdbg.h
+++ b/include/rtdbg.h
@@ -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 \
{ \