This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 86fc19ff3f92c2bf5d232d50e6801c9a132293d1 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Sat Oct 30 21:40:12 2021 +0800 Fix error: 'struct tcb_s' has no member named 'low_priority' Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- sched/sched/sched_sporadic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/sched/sched_sporadic.c b/sched/sched/sched_sporadic.c index 190412d..b6c1792 100644 --- a/sched/sched/sched_sporadic.c +++ b/sched/sched/sched_sporadic.c @@ -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