Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: m2x-demo-all-cc3000
Fork of mbed-rtos by
Diff: rtx/rt_Task.c
- Revision:
- 7:80173c64d05d
- Parent:
- 6:350b53afb889
- Child:
- 11:db1fc233faa9
diff -r 350b53afb889 -r 80173c64d05d rtx/rt_Task.c --- a/rtx/rt_Task.c Fri Nov 23 09:57:31 2012 +0000 +++ b/rtx/rt_Task.c Fri Nov 23 10:16:38 2012 +0000 @@ -106,7 +106,7 @@ void rt_switch_req (P_TCB p_new) { /* Switch to next task (identified by "p_new"). */ - os_tsk.new = p_new; + os_tsk.new_tsk = p_new; p_new->state = RUNNING; DBG_TASK_SWITCH(p_new->task_id); }