Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion os/arch/arm/src/armv7-a/arm_schedyield.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void up_schedyield(void)

save_task_scheduling_status(ntcb);
#endif
arm_switchcontext((uint32_t **) rtcb->xcp.regs, ntcb->xcp.regs);
arm_switchcontext(&rtcb->xcp.regs, ntcb->xcp.regs);

/* up_switchcontext forces a context switch to the task at the
* head of the ready-to-run list. It does not 'return' in the
Expand Down