mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 00:15:21 +08:00
fixed a compiling error if RT_DEBUG is defined but RT_DEBUG_CONTEXT_CHECK is defined as 0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2270 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
96182b10c0
commit
f897cff83f
@ -73,7 +73,10 @@
|
|||||||
rt_kprintf("Function[%s] shall not used in ISR\n", __FUNCTION__);\
|
rt_kprintf("Function[%s] shall not used in ISR\n", __FUNCTION__);\
|
||||||
RT_ASSERT(0)}\
|
RT_ASSERT(0)}\
|
||||||
rt_hw_interrupt_enable(level);} while (0)
|
rt_hw_interrupt_enable(level);} while (0)
|
||||||
|
#else
|
||||||
|
#define RT_DEBUG_NOT_IN_INTERRUPT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* RT_DEBUG */
|
#else /* RT_DEBUG */
|
||||||
|
|
||||||
#define RT_ASSERT(EX)
|
#define RT_ASSERT(EX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user