git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@363 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
fa22551743
commit
02fa161cd9
|
@ -154,7 +154,7 @@ Thread *chThdCreateFast(tprio_t prio, void *workspace,
|
||||||
*/
|
*/
|
||||||
void chThdSetPriority(tprio_t newprio) {
|
void chThdSetPriority(tprio_t newprio) {
|
||||||
|
|
||||||
chDbgAssert(newprio <= HIGHPRIO, "chthreads.c, chThdSetPriority()")
|
chDbgAssert(newprio <= HIGHPRIO, "chthreads.c, chThdSetPriority()");
|
||||||
chSysLock();
|
chSysLock();
|
||||||
|
|
||||||
#ifdef CH_USE_MUTEXES
|
#ifdef CH_USE_MUTEXES
|
||||||
|
|
Loading…
Reference in New Issue