From ce498fb730643db505aa4bc76de0d53ce8bb1479 Mon Sep 17 00:00:00 2001 From: Samuel Berkun Date: Sat, 3 Feb 2024 02:14:34 -0800 Subject: [PATCH] allow core 1 to sleep --- core/platform/lf_rp2040_support.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/platform/lf_rp2040_support.c b/core/platform/lf_rp2040_support.c index 200385b67..aa3d2af76 100644 --- a/core/platform/lf_rp2040_support.c +++ b/core/platform/lf_rp2040_support.c @@ -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) {