Skip to content

Commit

Permalink
allow core 1 to sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
sberkun committed Feb 3, 2024
1 parent 0696521 commit ce498fb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/platform/lf_rp2040_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,6 @@ static void* thread_1_return;
void core1_entry() {
thread_1_return = thread_1(thread_1_args);
sem_release(&thread_1_done);

// infinite loop; core1 should never exit
while (1){
tight_loop_contents();
}
}

int lf_thread_create(lf_thread_t* thread, void *(*lf_thread) (void *), void* arguments) {
Expand Down

0 comments on commit ce498fb

Please sign in to comment.