summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpclock01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpclock01/init.c')
-rw-r--r--testsuites/smptests/smpclock01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/smptests/smpclock01/init.c b/testsuites/smptests/smpclock01/init.c
index 36016ef680..ec98e2e33e 100644
--- a/testsuites/smptests/smpclock01/init.c
+++ b/testsuites/smptests/smpclock01/init.c
@@ -133,7 +133,7 @@ static void test(void)
sc = rtems_task_create(
SCHEDULER_B,
- 1,
+ 255,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
@@ -141,7 +141,7 @@ static void test(void)
);
rtems_test_assert(sc == RTEMS_SUCCESSFUL);
- sc = rtems_task_set_scheduler(task_id, scheduler_b_id);
+ sc = rtems_task_set_scheduler(task_id, scheduler_b_id, 1);
rtems_test_assert(sc == RTEMS_SUCCESSFUL);
sc = rtems_task_start(task_id, timer_task, (rtems_task_argument) ctx);