Fixed error introduced with queue changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14030 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
fd683a2343
commit
21eb903b0b
|
@ -617,8 +617,8 @@ tprio_t chThdSetPriority(tprio_t newprio) {
|
|||
}
|
||||
currtp->realprio = newprio;
|
||||
#else
|
||||
oldprio = currtp->prio;
|
||||
currtp->prio = newprio;
|
||||
oldprio = currtp->hdr.pqueue.prio;
|
||||
currtp->hdr.pqueue.prio = newprio;
|
||||
#endif
|
||||
chSchRescheduleS();
|
||||
chSysUnlock();
|
||||
|
|
Loading…
Reference in New Issue