From 244b903e5def3cd4aefc4bf2ebdc4687826e2f4d Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Fri, 21 Jul 2023 22:36:42 -0400 Subject: [debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/unicore32/sep6200/sep6200.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcpu/unicore32') diff --git a/libcpu/unicore32/sep6200/sep6200.h b/libcpu/unicore32/sep6200/sep6200.h index 773b505a02..4b9eab6d79 100644 --- a/libcpu/unicore32/sep6200/sep6200.h +++ b/libcpu/unicore32/sep6200/sep6200.h @@ -374,8 +374,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 \ { \ @@ -387,7 +387,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) \ { \ -- cgit v1.3.1