Fixed missing p_ in osThreadSetPriority().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@10158 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
e28983f431
commit
51d8ce8923
|
@ -157,7 +157,7 @@ osStatus osThreadSetPriority(osThreadId thread_id, osPriority newprio) {
|
|||
tp->p_prio = (tprio_t)newprio;
|
||||
tp->p_realprio = (tprio_t)newprio;
|
||||
#else
|
||||
tp->prio = (tprio_t)newprio;
|
||||
tp->p_prio = (tprio_t)newprio;
|
||||
#endif
|
||||
|
||||
/* The following states need priority queues reordering.*/
|
||||
|
|
Loading…
Reference in New Issue