mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 08:15:45 +08:00
[components][sfud] Fix RT_DEBUG_SFUD macro to bool type.
This commit is contained in:
parent
24f633e025
commit
3b98684664
@ -33,8 +33,8 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* It will print more information on debug mode.
|
* It will print more information on debug mode.
|
||||||
* #define RT_DEBUG_SFUD 1: open debug mode */
|
* #define RT_DEBUG_SFUD open debug mode */
|
||||||
#if RT_DEBUG_SFUD
|
#ifdef RT_DEBUG_SFUD
|
||||||
#define SFUD_DEBUG_MODE
|
#define SFUD_DEBUG_MODE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#ifdef RT_USING_SFUD
|
#ifdef RT_USING_SFUD
|
||||||
|
|
||||||
#if RT_DEBUG_SFUD
|
#ifdef RT_DEBUG_SFUD
|
||||||
#define DEBUG_TRACE rt_kprintf("[SFUD] "); rt_kprintf
|
#define DEBUG_TRACE rt_kprintf("[SFUD] "); rt_kprintf
|
||||||
#else
|
#else
|
||||||
#define DEBUG_TRACE(...)
|
#define DEBUG_TRACE(...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user