Fixed bug #909.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11142 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
b191398a78
commit
f673ed8ff2
|
@ -280,7 +280,8 @@ thread_t *chThdCreateI(const thread_descriptor_t *tdp) {
|
|||
thread_t *chThdCreate(const thread_descriptor_t *tdp) {
|
||||
thread_t *tp;
|
||||
|
||||
#if CH_CFG_USE_REGISTRY == TRUE
|
||||
#if (CH_CFG_USE_REGISTRY == TRUE) && \
|
||||
(CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE)
|
||||
chDbgAssert(chRegFindThreadByWorkingArea(tdp->wbase) == NULL,
|
||||
"working area in use");
|
||||
#endif
|
||||
|
@ -329,7 +330,8 @@ thread_t *chThdCreateStatic(void *wsp, size_t size,
|
|||
MEM_IS_ALIGNED(size, PORT_STACK_ALIGN) &&
|
||||
(prio <= HIGHPRIO) && (pf != NULL));
|
||||
|
||||
#if CH_CFG_USE_REGISTRY == TRUE
|
||||
#if (CH_CFG_USE_REGISTRY == TRUE) && \
|
||||
(CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE)
|
||||
chDbgAssert(chRegFindThreadByWorkingArea(wsp) == NULL,
|
||||
"working area in use");
|
||||
#endif
|
||||
|
|
|
@ -163,6 +163,8 @@
|
|||
dependencies and configuration directories. This makes possible
|
||||
to have multiple non-conflicting makefiles in the same project.
|
||||
Updated the various platform.mk implementing "smart build" mode.
|
||||
- RT: Fixed compile error with assertions enabled and dynamic extensions
|
||||
disabled (bug #909)(backported to 17.6.4).
|
||||
- RT: Fixed gcc7 implicit-fallthrough (bug #906)(backported to 17.6.4
|
||||
and 16.1.10).
|
||||
- HAL: Fixed gcc7 implicit-fallthrough (bug #906)(backported to 17.6.4
|
||||
|
|
Loading…
Reference in New Issue