提交 3b986846 编写于 作者: armink_ztl's avatar armink_ztl

[components][sfud] Fix RT_DEBUG_SFUD macro to bool type.

上级 24f633e0
......@@ -33,8 +33,8 @@
/**
* It will print more information on debug mode.
* #define RT_DEBUG_SFUD 1: open debug mode */
#if RT_DEBUG_SFUD
* #define RT_DEBUG_SFUD open debug mode */
#ifdef RT_DEBUG_SFUD
#define SFUD_DEBUG_MODE
#endif
......
......@@ -29,7 +29,7 @@
#ifdef RT_USING_SFUD
#if RT_DEBUG_SFUD
#ifdef RT_DEBUG_SFUD
#define DEBUG_TRACE rt_kprintf("[SFUD] "); rt_kprintf
#else
#define DEBUG_TRACE(...)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册