diff options
Diffstat (limited to 'os/rt/src/chthreads.c')
-rw-r--r-- | os/rt/src/chthreads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/rt/src/chthreads.c b/os/rt/src/chthreads.c index e706c0d77..0fff76604 100644 --- a/os/rt/src/chthreads.c +++ b/os/rt/src/chthreads.c @@ -175,6 +175,7 @@ thread_t *chThdCreateSuspendedI(const thread_descriptor_t *tdp) { /* Initial state.*/
tp->state = CH_STATE_WTSTART;
+ tp->flags = CH_FLAG_MODE_STATIC;
/* Stack boundary.*/
tp->stklimit = tdp->wbase;
|