comparison cos/kernel/task.c @ 34:8012221dd740

Fixes for uninitialized data. This causes problems on real machines
author windel
date Mon, 16 Jan 2012 13:46:06 +0100
parents 47b7df514243
children 91f91ff07ea8
comparison
equal deleted inserted replaced
33:d8185ddb6c7b 34:8012221dd740
69 /* 69 /*
70 Scheduler function that switches tasks for multi tasking. 70 Scheduler function that switches tasks for multi tasking.
71 */ 71 */
72 void task_scheduler() 72 void task_scheduler()
73 { 73 {
74 return;
75
74 if (current_task == 0) 76 if (current_task == 0)
75 { 77 {
76 return; 78 return;
77 } 79 }
78 80