修复 soc_shell_base.c 可能出现的重复定义的编译警告
This commit is contained in:
@@ -20,10 +20,21 @@
|
||||
#include "task.h"
|
||||
|
||||
/* Unsigned integers. */
|
||||
#ifndef PRIu8
|
||||
#define PRIu8 "u"
|
||||
#endif
|
||||
|
||||
#ifndef PRIu16
|
||||
#define PRIu16 "u"
|
||||
#endif
|
||||
|
||||
#ifndef PRIu32
|
||||
#define PRIu32 "u"
|
||||
#endif
|
||||
|
||||
#ifndef PRIu64
|
||||
#define PRIu64 __PRI64_PREFIX "u"
|
||||
#endif
|
||||
|
||||
SH_CMD_FN(_base_free);
|
||||
SH_CMD_FN(_base_heap);
|
||||
|
||||
Reference in New Issue
Block a user