Skip to content

Commit

Permalink
test: fix test_priority_scheduling.c typo
Browse files Browse the repository at this point in the history
ITERATION_COUNT was written as ITRERATION_COUNT

Signed-off-by: TaiJuWu <tjwu1217@gmail.com>
  • Loading branch information
TaiJuWu committed Sep 16, 2023
1 parent ad8f3e5 commit 010a24b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#else
#define NUM_THREAD 10
#endif
#define ITRERATION_COUNT 5
#define ITERATION_COUNT 5
#define BASE_PRIORITY 1

BUILD_ASSERT(NUM_THREAD <= MAX_NUM_THREAD);
Expand Down Expand Up @@ -83,7 +83,7 @@ ZTEST(threads_scheduling, test_priority_scheduling)
K_NO_WAIT);
}

while (count < ITRERATION_COUNT) {
while (count < ITERATION_COUNT) {

/* Wait for each thread to complete */
for (int i = 0; i < NUM_THREAD; i++) {
Expand Down

0 comments on commit 010a24b

Please sign in to comment.