summaryrefslogtreecommitdiff
path: root/firmware/export/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/thread.h')
-rw-r--r--firmware/export/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index 77209726f7..a7b5709deb 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -24,7 +24,8 @@
#define MAXTHREADS 10
#define DEFAULT_STACK_SIZE 0x400 /* Bytes */
-int create_thread(void* function, void* stack, int stack_size, char *name);
+int create_thread(void* function, void* stack, int stack_size,
+ const char *name);
void remove_thread(int threadnum);
void switch_thread(void);
void sleep_thread(void);