diff options
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 3708882..899ee4d 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -167,6 +167,12 @@ static bool dbg_os(void) gui_synclist_do_button(&lists, action, LIST_WRAP_UNLESS_HELD); if (action == ACTION_STD_CANCEL) break; + if (action == ACTION_STD_OK) + { + struct thread_entry *thread = &threads[gui_synclist_get_sel_pos(&lists)]; + if (thread->name != NULL) + remove_thread(thread); + } else if(default_event_handler(action) == SYS_USB_CONNECTED) return true; } |