diff options
-rw-r--r-- | firmware/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index e4dcbbcf9a..aeedbac349 100644 --- a/firmware/thread.c +++ b/firmware/thread.c | |||
@@ -671,8 +671,8 @@ void remove_thread(struct thread_entry *thread) | |||
671 | 671 | ||
672 | if (thread == cores[CURRENT_CORE].sleeping) | 672 | if (thread == cores[CURRENT_CORE].sleeping) |
673 | remove_from_list(&cores[CURRENT_CORE].sleeping, thread); | 673 | remove_from_list(&cores[CURRENT_CORE].sleeping, thread); |
674 | 674 | else | |
675 | remove_from_list(NULL, thread); | 675 | remove_from_list(NULL, thread); |
676 | } | 676 | } |
677 | 677 | ||
678 | #ifdef HAVE_PRIORITY_SCHEDULING | 678 | #ifdef HAVE_PRIORITY_SCHEDULING |