From c27364570fa2976ad9644655d7e1ce0212c837a3 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 27 Jul 2015 08:10:59 -0600 Subject: [PATCH] OS test, sporadic scheduler test: If more timers are available, use them --- examples/ostest/sporadic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ostest/sporadic.c b/examples/ostest/sporadic.c index 2cd9a92a4..5d4049543 100644 --- a/examples/ostest/sporadic.c +++ b/examples/ostest/sporadic.c @@ -286,7 +286,7 @@ void sporadic_test(void) sparam.sched_ss_repl_period.tv_nsec = 0; sparam.sched_ss_init_budget.tv_sec = 2; sparam.sched_ss_init_budget.tv_nsec = 0; - sparam.sched_ss_max_repl = MIN(5, CONFIG_SCHED_SPORADIC_MAXREPL); + sparam.sched_ss_max_repl = CONFIG_SCHED_SPORADIC_MAXREPL; ret = pthread_attr_setschedparam(&attr, &sparam); if (ret != OK)