diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chthreads.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chthreads.c b/src/chthreads.c index 797591243..33c75dd45 100644 --- a/src/chthreads.c +++ b/src/chthreads.c @@ -33,7 +33,6 @@ void init_thread(tprio_t prio, tmode_t mode, Thread *tp) { tp->p_tid = nextid++;
tp->p_flags = mode;
tp->p_prio = prio;
- tp->p_rdymsg = RDY_OK;
#ifdef CH_USE_MUTEXES
tp->p_mtxlist = NULL;
tp->p_realprio = prio;
@@ -48,7 +47,7 @@ void init_thread(tprio_t prio, tmode_t mode, Thread *tp) { tp->p_epending = 0;
#endif
#ifdef CH_USE_EXIT_EVENT
- chEvtInit(&tp->p_exitesource);
+ chEvtInit(&tp->p_exitesource);
#endif
}
|