git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@335 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
aa8ef7e8e7
commit
e09b7c66e7
|
@ -34,8 +34,8 @@ void init_thread(tprio_t prio, tmode_t mode, Thread *tp) {
|
||||||
tp->p_flags = mode;
|
tp->p_flags = mode;
|
||||||
tp->p_prio = prio;
|
tp->p_prio = prio;
|
||||||
#ifdef CH_USE_MUTEXES
|
#ifdef CH_USE_MUTEXES
|
||||||
tp->p_mtxlist = NULL;
|
|
||||||
tp->p_realprio = prio;
|
tp->p_realprio = prio;
|
||||||
|
tp->p_mtxlist = NULL;
|
||||||
#endif
|
#endif
|
||||||
#ifdef CH_USE_WAITEXIT
|
#ifdef CH_USE_WAITEXIT
|
||||||
list_init(&tp->p_waiting);
|
list_init(&tp->p_waiting);
|
||||||
|
|
Loading…
Reference in New Issue