smptests/smpswitchextension01: Fix start sequence

Start the toggler after the context is initialized.
This commit is contained in:
Sebastian Huber
2013-08-08 16:34:19 +02:00
parent 4e3b7e26a2
commit 806f84c8ee

View File

@@ -177,7 +177,9 @@ static void test(void)
&ctx->toggler_ids[toggler_index]
);
rtems_test_assert(sc == RTEMS_SUCCESSFUL);
}
for (toggler_index = 0; toggler_index < TOGGLER_COUNT; ++toggler_index) {
sc = rtems_task_start(ctx->toggler_ids[toggler_index], toggler, toggler_index);
rtems_test_assert(sc == RTEMS_SUCCESSFUL);
}