mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 03:09:16 +08:00
[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)
This commit is contained in:
+2
-2
@@ -270,7 +270,7 @@ typedef __gnuc_va_list va_list;
|
||||
typedef int (*init_fn_t)(void);
|
||||
#ifdef _MSC_VER
|
||||
#pragma section("rti_fn$f",read)
|
||||
#if RT_DEBUG_INIT
|
||||
#ifdef RT_DEBUG_INIT
|
||||
struct rt_init_desc
|
||||
{
|
||||
const char* level;
|
||||
@@ -296,7 +296,7 @@ typedef int (*init_fn_t)(void);
|
||||
{__rti_level_##fn, fn };
|
||||
#endif
|
||||
#else
|
||||
#if RT_DEBUG_INIT
|
||||
#ifdef RT_DEBUG_INIT
|
||||
struct rt_init_desc
|
||||
{
|
||||
const char* fn_name;
|
||||
|
||||
Reference in New Issue
Block a user