mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-04 16:13:03 +00:00
OS test, sporadic scheduler test: If more timers are available, use them
This commit is contained in:
parent
70f1ee9dcd
commit
c27364570f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue