diff options
-rw-r--r-- | apps/plugin.h | 2 | ||||
-rw-r--r-- | firmware/thread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 1405ba3924..171ed7f1af 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -228,7 +228,7 @@ struct plugin_api { #endif void (*plugin_tsr)(void (*exit_callback)(void)); int (*create_thread)(void* function, void* stack, int stack_size, char *name); - void (*remove_tread)(int threadnum); + void (*remove_thread)(int threadnum); void (*lcd_set_contrast)(int x); /* playback control */ 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) regs->pr = function; wake_up_thread(); - return num_threads++; /* return the current ID, e.g for remove_tread() */ + return num_threads++; /* return the current ID, e.g for remove_thread() */ } /*--------------------------------------------------------------------------- |