summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index b37a99237d..1875650050 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -1085,11 +1085,14 @@ void init_threads(void)
1085#if NUM_CORES > 1 /* This code path will not be run on single core targets */ 1085#if NUM_CORES > 1 /* This code path will not be run on single core targets */
1086 /* Mark CPU initialized */ 1086 /* Mark CPU initialized */
1087 cores[CPU].kernel_running = true; 1087 cores[CPU].kernel_running = true;
1088 /* Do _not_ wait for the COP to init in the bootloader because it doesn't */
1089#ifndef BOOTLOADER
1088 /* TODO: HAL interface for this */ 1090 /* TODO: HAL interface for this */
1089 /* Wake up coprocessor and let it initialize kernel and threads */ 1091 /* Wake up coprocessor and let it initialize kernel and threads */
1090 COP_CTL = PROC_WAKE; 1092 COP_CTL = PROC_WAKE;
1091 /* Sleep until finished */ 1093 /* Sleep until finished */
1092 CPU_CTL = PROC_SLEEP; 1094 CPU_CTL = PROC_SLEEP;
1095#endif
1093 } 1096 }
1094 else 1097 else
1095 { 1098 {