Build error on osThreadSetPriority
Posted: Wed Apr 05, 2017 4:33 pm
Hi,
With the fix #823 an issue appeared on osThreadSetPriority, more exactly on these lines of code:
"
Line 156 if ((tp->prio == tp->realprio) || ((tprio_t)newprio > tp->prio))
tp->prio = (tprio_t)newprio;
tp->realprio = (tprio_t)newprio;
"
And
"
Line 183 (threads_queue_t *)tp->u.wtobjp);
"
There's missing "p_" for Thread_t structure fields.
Thanks,
With the fix #823 an issue appeared on osThreadSetPriority, more exactly on these lines of code:
"
Line 156 if ((tp->prio == tp->realprio) || ((tprio_t)newprio > tp->prio))
tp->prio = (tprio_t)newprio;
tp->realprio = (tprio_t)newprio;
"
And
"
Line 183 (threads_queue_t *)tp->u.wtobjp);
"
There's missing "p_" for Thread_t structure fields.
Thanks,