Doc fixes.
[bertos.git] / kern / proc_test.c
index 0db24f1c690f3053f88a935aaf4c18df43486c56..4c2f3126d76feea80fea461fa709c70defb6d97b 100644 (file)
@@ -1,6 +1,5 @@
 
 #include <kern/proc.h>
-#include <kern/monitor.h>
 #include <drv/timer.h>
 
 /**
@@ -29,16 +28,14 @@ static void NORETURN proc_test_thread2(void)
        }
 }
 
-static cpustack_t proc_test_stack1[256];//CONFIG_PROC_DEFSTACKSIZE / sizeof(cpustack_t)];
-static cpustack_t proc_test_stack2[256];//CONFIG_PROC_DEFSTACKSIZE / sizeof(cpustack_t)];
-static cpustack_t monitor_stack[256];//CONFIG_PROC_DEFSTACKSIZE / sizeof(cpustack_t)];
+static cpustack_t proc_test_stack1[CONFIG_PROC_DEFSTACKSIZE / sizeof(cpustack_t)];
+static cpustack_t proc_test_stack2[CONFIG_PROC_DEFSTACKSIZE / sizeof(cpustack_t)];
 
 /**
  * Proc scheduling test
  */
 void NORETURN proc_test(void)
 {
-       monitor_start(sizeof(monitor_stack), monitor_stack);
        proc_new(proc_test_thread1, NULL, sizeof(proc_test_stack1), proc_test_stack1);
        proc_new(proc_test_thread2, NULL, sizeof(proc_test_stack2), proc_test_stack2);
        kputs("Created tasks\n");