diff options
Diffstat (limited to 'test/testdyn.c')
-rw-r--r-- | test/testdyn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testdyn.c b/test/testdyn.c index 1f952b6ac..f7b9e3107 100644 --- a/test/testdyn.c +++ b/test/testdyn.c @@ -99,7 +99,7 @@ static void dyn2_execute(void) { tprio_t prio = chThdGetPriority();
/* Adding the WAs to the pool. */
- for (i = 0; i < 5; i++)
+ for (i = 0; i < MAX_THREADS; i++)
chPoolFree(&mp1, wa[i]);
/* Starting threads from the memory pool. */
|