mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-28 16:14:20 +08:00
Update all of debug log definition to DBG_TAG and DBG_LVL.
This commit is contained in:
@@ -54,7 +54,9 @@ extern "C" {
|
||||
|
||||
#if !defined(LOG_TAG)
|
||||
/* compatible for rtdbg */
|
||||
#if defined(DBG_SECTION_NAME)
|
||||
#if defined(DBG_TAG)
|
||||
#define LOG_TAG DBG_TAG
|
||||
#elif defined(DBG_SECTION_NAME)
|
||||
#define LOG_TAG DBG_SECTION_NAME
|
||||
#else
|
||||
#define LOG_TAG "NO_TAG"
|
||||
@@ -63,7 +65,9 @@ extern "C" {
|
||||
|
||||
#if !defined(LOG_LVL)
|
||||
/* compatible for rtdbg */
|
||||
#if defined(DBG_LEVEL)
|
||||
#if defined(DBG_LVL)
|
||||
#define LOG_LVL DBG_LVL
|
||||
#elif defined(DBG_LEVEL)
|
||||
#define LOG_LVL DBG_LEVEL
|
||||
#else
|
||||
#define LOG_LVL LOG_LVL_DBG
|
||||
|
||||
Reference in New Issue
Block a user