timtest: Fix pstack malloc for task 2 should use TASK2_STACK_SIZE
@@ -175,7 +175,7 @@ init_tasks(void)
os_task_init(&task1, "task1", task1_handler, NULL,
TASK1_PRIO, OS_WAIT_FOREVER, pstack, TASK1_STACK_SIZE);
- pstack = malloc(sizeof(os_stack_t)*TASK1_STACK_SIZE);
+ pstack = malloc(sizeof(os_stack_t) * TASK2_STACK_SIZE);
assert(pstack);
os_task_init(&task2, "task2", task2_handler, NULL,
