From c9b8b7465fe17d80ad8850544944ef0d6fdaf7e8 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Sat, 12 Oct 2013 10:58:56 +0800 Subject: [PATCH] kernel: fix compiling error when RT_DEBUG is not defined Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined. --- include/rtdebug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rtdebug.h b/include/rtdebug.h index 5172778578..6ef04f6bf9 100644 --- a/include/rtdebug.h +++ b/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 */ -- GitLab