Merge pull request #1517 from armink/fix_sfud

[components][sfud] Fix RT_DEBUG_SFUD macro to bool type.
This commit is contained in:
Bernard Xiong 2018-06-11 10:40:11 +08:00 committed by GitHub
commit 43e3eed3b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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(...)