Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh authored May 26, 2023
1 parent 40a270b commit 37c94ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/platform/lf_zephyr_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@ int lf_thread_create(lf_thread_t* thread, void *(*lf_thread) (void *), void* arg


// Pass the pointer to the k_thread struct out. This is needed
// to join on the thread later
// to join on the thread later.
*thread = &threads[tid];

// Increment the tid counter so that next call to `lf_thread_create`
// uses the next available k_thread struct and stack
// uses the next available k_thread struct and stack.
tid++;


Expand Down

0 comments on commit 37c94ec

Please sign in to comment.