mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-29 02:20:21 +00:00
Remove the DBG_COLOR and DBG_ENABLE definition.
This commit is contained in:
@@ -17,17 +17,13 @@
|
||||
|
||||
#undef DBG_SECTION_NAME
|
||||
#undef DBG_LEVEL
|
||||
#undef DBG_COLOR
|
||||
#undef DBG_ENABLE
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "utest"
|
||||
#ifdef UTEST_DEBUG
|
||||
#define DBG_LEVEL DBG_LOG
|
||||
#else
|
||||
#define DBG_LEVEL DBG_INFO
|
||||
#endif
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h>
|
||||
|
||||
#if RT_CONSOLEBUF_SIZE < 256
|
||||
|
||||
@@ -17,17 +17,13 @@
|
||||
|
||||
#undef DBG_SECTION_NAME
|
||||
#undef DBG_LEVEL
|
||||
#undef DBG_COLOR
|
||||
#undef DBG_ENABLE
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "testcase"
|
||||
#ifdef UTEST_DEBUG
|
||||
#define DBG_LEVEL DBG_LOG
|
||||
#else
|
||||
#define DBG_LEVEL DBG_INFO
|
||||
#endif
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h>
|
||||
|
||||
#define UTEST_LOG_ALL (1u)
|
||||
|
||||
Reference in New Issue
Block a user