Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/mq/mq_workload.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ no_task_retval_t mq_initialize_test(no_task_argument_t args)
BASE_PRIO /* receiver is the high priority task. */
);

for (i < 0 ; i < NB_WORKLOAD_TASK; i++)
for (i = 0 ; i < NB_WORKLOAD_TASK; i++)
{
workload_tasks_name[i][0] = 65;
workload_tasks_name[i][1] = (65 + i) % 255;
Expand Down Expand Up @@ -113,7 +113,7 @@ no_task_retval_t receiver(no_task_argument_t args)

no_task_retval_t workload_task(no_task_argument_t args)
{
int32_t i;
int32_t i = 0;
unsigned long _workload_results[100];

while (1)
Expand Down
4 changes: 2 additions & 2 deletions tests/mutex/mutex_workload.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ no_task_retval_t mutex_initialize_test(no_task_argument_t args)
BASE_PRIO /* receiver is the high priority task. */
);

for (i < 0 ; i < NB_WORKLOAD_TASK; i++)
for (i = 0 ; i < NB_WORKLOAD_TASK; i++)
{
workload_tasks_name[i][0] = 65;
workload_tasks_name[i][1] = (65 + i) % 255;
Expand Down Expand Up @@ -118,7 +118,7 @@ no_task_retval_t receiver(no_task_argument_t args)

no_task_retval_t workload_task(no_task_argument_t args)
{
int32_t i;
int32_t i = 0;
int32_t j;
unsigned long _workload_results[100];

Expand Down
4 changes: 2 additions & 2 deletions tests/semaphore/sem_workload.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ no_task_retval_t sem_initialize_test(no_task_argument_t args)
BASE_PRIO /* receiver is the high priority task. */
);

for (i < 0 ; i < NB_WORKLOAD_TASK; i++)
for (i = 0 ; i < NB_WORKLOAD_TASK; i++)
{
workload_tasks_name[i][0] = 65;
workload_tasks_name[i][1] = (65 + i) % 255;
Expand Down Expand Up @@ -111,7 +111,7 @@ no_task_retval_t receiver(no_task_argument_t args)

no_task_retval_t workload_task(no_task_argument_t args)
{
int32_t i;
int32_t i = 0;
unsigned long _workload_results[100];

while (1)
Expand Down