summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2023-07-21 22:36:42 -0400
committerGitHub <[email protected]>2023-07-22 10:36:42 +0800
commit244b903e5def3cd4aefc4bf2ebdc4687826e2f4d (patch)
tree8bbed859a1b5c38a449b9e2c6a35d3026eeecaef /libcpu/arm
parent52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff)
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/sep4020/sep4020.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/arm/sep4020/sep4020.h b/libcpu/arm/sep4020/sep4020.h
index bb8effbff0..b5654794b1 100644
--- a/libcpu/arm/sep4020/sep4020.h
+++ b/libcpu/arm/sep4020/sep4020.h
@@ -808,8 +808,8 @@ typedef int ER; /* Error code. A signed integer. */
rt_kprintf(fmt,##__VA_ARGS__); \
}while(0)
-#define RT_DEBUG
-#ifdef RT_DEBUG
+#define RT_USING_DEBUG
+#ifdef RT_USING_DEBUG
#define DBOUT(fmt,...) \
do \
{ \
@@ -821,7 +821,7 @@ typedef int ER; /* Error code. A signed integer. */
do{}while(0)
#endif
-#ifdef RT_DEBUG
+#ifdef RT_USING_DEBUG
#define ASSERT(arg) \
if((arg) == 0) \
{ \