Explorar o código

Merge pull request #172 from grissiom/rtt-next

kernel: fix compiling error when RT_DEBUG is not defined
Bernard Xiong %!s(int64=11) %!d(string=hai) anos
pai
achega
ca9b83c68f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 */