summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/thread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 05325bb..2281f43 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -769,12 +769,10 @@ void init_threads(void)
* probably a much better way to do this. */
if (core == CPU)
{
- THREAD_CPU_INIT(core, &cores[CPU].threads[0]);
cores[CPU].threads[0].stack = stackbegin;
cores[CPU].threads[0].stack_size = (int)stackend - (int)stackbegin;
} else {
#if NUM_CORES > 1 /* This code path will not be run on single core targets */
- THREAD_CPU_INIT(core, &cores[COP].threads[0]);
cores[COP].threads[0].stack = cop_stackbegin;
cores[COP].threads[0].stack_size =
(int)cop_stackend - (int)cop_stackbegin;