Fix error: 'struct tcb_s' has no member named 'low_priority'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-10-30 21:40:12 +08:00 committed by Gustavo Henrique Nihei
parent 6aeeb8a7c5
commit 86fc19ff3f

View File

@ -136,7 +136,7 @@ static int sporadic_set_lowpriority(FAR struct tcb_s *tcb)
* state.
*/
tcb->base_priority = tcb->low_priority;
tcb->base_priority = sporadic->low_priority;
}
else
#endif