提交 c9b8b746 编写于 作者: G Grissiom

kernel: fix compiling error when RT_DEBUG is not defined

Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
上级 9193acaf
...@@ -133,6 +133,7 @@ while (0) ...@@ -133,6 +133,7 @@ while (0)
#define RT_ASSERT(EX) #define RT_ASSERT(EX)
#define RT_DEBUG_LOG(type, message) #define RT_DEBUG_LOG(type, message)
#define RT_DEBUG_NOT_IN_INTERRUPT #define RT_DEBUG_NOT_IN_INTERRUPT
#define RT_DEBUG_IN_THREAD_CONTEXT
#endif /* RT_DEBUG */ #endif /* RT_DEBUG */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册