瀏覽代碼

kernel: fix compiling error when RT_DEBUG is not defined

Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
Grissiom 12 年之前
父節點
當前提交
c9b8b7465f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/rtdebug.h

+ 1 - 0
include/rtdebug.h

@@ -133,6 +133,7 @@ while (0)
 #define RT_ASSERT(EX)
 #define RT_DEBUG_LOG(type, message)
 #define RT_DEBUG_NOT_IN_INTERRUPT
+#define RT_DEBUG_IN_THREAD_CONTEXT
 
 #endif /* RT_DEBUG */