summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index 16408e816e..e102997dae 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -29,6 +29,7 @@
29 29
30#define DEFAULT_STACK_SIZE 0x400 /* Bytes */ 30#define DEFAULT_STACK_SIZE 0x400 /* Bytes */
31 31
32#ifndef SIMULATOR
32/* Need to keep structures inside the header file because debug_menu 33/* Need to keep structures inside the header file because debug_menu
33 * needs them. */ 34 * needs them. */
34#ifdef CPU_COLDFIRE 35#ifdef CPU_COLDFIRE
@@ -78,6 +79,7 @@ struct core_entry {
78 int current_thread; 79 int current_thread;
79 struct thread_entry threads[MAXTHREADS]; 80 struct thread_entry threads[MAXTHREADS];
80}; 81};
82#endif
81 83
82int create_thread(void (*function)(void), void* stack, int stack_size, 84int create_thread(void (*function)(void), void* stack, int stack_size,
83 const char *name); 85 const char *name);