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,
Build error on osThreadSetPriority
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Build error on osThreadSetPriority
Hi,
Fixed, I copied the code from trunk and forgot that detail...
Giovanni
Fixed, I copied the code from trunk and forgot that detail...
Giovanni
-
- Posts: 91
- Joined: Sat Feb 18, 2017 11:50 am
- Has thanked: 43 times
- Been thanked: 23 times
Re: Build error on osThreadSetPriority
Thanks for looking into this.
It seems that a "p_" is still missing in line #160... it should be tp->p_prio = (tprio_t)newprio;
It seems that a "p_" is still missing in line #160... it should be tp->p_prio = (tprio_t)newprio;
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Who is online
Users browsing this forum: No registered users and 58 guests