diff options
Diffstat (limited to 'os/rt/src')
-rw-r--r-- | os/rt/src/chthreads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chthreads.c b/os/rt/src/chthreads.c index ef740eaf9..4d0a641e9 100644 --- a/os/rt/src/chthreads.c +++ b/os/rt/src/chthreads.c @@ -281,7 +281,7 @@ thread_t *chThdCreate(const thread_descriptor_t *tdp) { thread_t *tp;
#if (CH_CFG_USE_REGISTRY == TRUE) && \
- (CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE)
+ ((CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE))
chDbgAssert(chRegFindThreadByWorkingArea(tdp->wbase) == NULL,
"working area in use");
#endif
@@ -331,7 +331,7 @@ thread_t *chThdCreateStatic(void *wsp, size_t size, (prio <= HIGHPRIO) && (pf != NULL));
#if (CH_CFG_USE_REGISTRY == TRUE) && \
- (CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE)
+ ((CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE))
chDbgAssert(chRegFindThreadByWorkingArea(wsp) == NULL,
"working area in use");
#endif
|