diff options
Diffstat (limited to 'firmware/thread.c')
-rw-r--r-- | firmware/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index 468a957d7b..e7c4606bcc 100644 --- a/firmware/thread.c +++ b/firmware/thread.c | |||
@@ -171,7 +171,7 @@ int create_thread(void* function, void* stack, int stack_size, char *name) | |||
171 | regs->pr = function; | 171 | regs->pr = function; |
172 | 172 | ||
173 | wake_up_thread(); | 173 | wake_up_thread(); |
174 | return num_threads++; /* return the current ID, e.g for remove_tread() */ | 174 | return num_threads++; /* return the current ID, e.g for remove_thread() */ |
175 | } | 175 | } |
176 | 176 | ||
177 | /*--------------------------------------------------------------------------- | 177 | /*--------------------------------------------------------------------------- |