From b4a2d6a06a7f0001f9d36864557b11f578aae76b Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Wed, 28 Mar 2007 07:33:40 +0000 Subject: Killing of threads enabled also for logf debug builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12947 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 899ee4d..2b4bab9 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -167,12 +167,14 @@ 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) +#ifdef ROCKBOX_HAS_LOGF + else if (action == ACTION_STD_OK) { struct thread_entry *thread = &threads[gui_synclist_get_sel_pos(&lists)]; if (thread->name != NULL) remove_thread(thread); } +#endif else if(default_event_handler(action) == SYS_USB_CONNECTED) return true; } -- cgit v1.1