4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-20 20:17:29 +08:00

kernel: fix compiling error when RT_DEBUG is not defined

Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
This commit is contained in:
Grissiom 2013-10-12 10:58:56 +08:00
parent 9193acafbf
commit c9b8b7465f

View File

@ -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 */